jira-importer commented on issue #183:
URL: 
https://github.com/apache/maven-war-plugin/issues/183#issuecomment-2967848508

   **[David 
Bullock](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=dtbullock)**
 commented
   
   Hey thanks for picking this request up.  You can leave the un-zipped 
resources in the archive.  So if I had:
   
   ```
   /index.html
   /css/main.css
   /images/alreadysmall.jpg
   /WEF-INF/notme.html
   /WEB-INF/resources/other.html
   ```
   
   By default,
   * CSS and HTML files would be gzipped if they met this filter:  
`(filepath.startsWith("/WEB-INF/resources/") || 
!filepath.startsWith("/WEB-INF/"))` (because except for `/WEB-INF/resources/`, 
nothing under `/WEB-INF/` gets served by the servlet-engine)
   * Already-compressed graphics files would probably NOT be gzipped (contrary 
to what I said above)
   
   Giving:
   
   ```
   /index.html
   /index.html.gz
   /css/main.css
   /css/main.css.gz
   /images/alreadysmall.jpg
   /WEF-INF/notme.html
   /WEB-INF/resources/other.html
   /WEB-INF/resources/other.html.gz
   ```
   
   


-- 
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

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to