jira-importer opened a new issue, #183: URL: https://github.com/apache/maven-war-plugin/issues/183
**[David Bullock](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=dtbullock)** opened **[MWAR-354](https://issues.apache.org/jira/browse/MWAR-354?redirect=false)** and commented Apache Tomcat 8.0 will automatically send the pre-gzipped version of a resource if it finds a .gz version of the file in the WAR. This is beneficial since: 1) it saves on CPU cycles; 2) it can leverage the operating system to send the file 'directly' from the disk to the network socket with as little handling as possible in CPU/RAM. xref the 'Note' on the 'compression' attribute documented at https://tomcat.apache.org/tomcat-8.0-doc/config/http.html So, I would like MWAR to do generate these pre-gzipped resources for me, at build time. Obviously, it need only do so for certain static assets: an initial 'by convention' would probably: - include *.html, *.jpg, *.png, *.gif, *.css files under the WAR resource root or subdirs - but exclude those found under /WEB-INF/ - except if they were specifically found under /WEB-INF/resources/ --- No further details from [MWAR-354](https://issues.apache.org/jira/browse/MWAR-354?redirect=false) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@maven.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org