A quite simple solution to overcome this problem is to install & configure Nginx in front of Tomcat. Nginx is a free, open-source, high-performance HTTP server and provides reverse proxy. Nginx is known for its high performance, stability, rich feature set, simple configuration, and low resource consumption. (more…)
To host any Grails based web application, Apache Tomcat is a common choice. However serving some static files like image, js & css files through Tomcat is waste of resources & CPU cycles.