Lofesa commented on issue #1148:
URL: 
https://github.com/apache/incubator-pagespeed-mod/issues/1148#issuecomment-830592421


   Yes, maybe a cache issue. If you change `HttpCacheCompressionLevel` to 0 and 
don´t clean the pagespeed cache, by default this level is set to 9 (if I 
remember), so optimized resources are stored gziped.
   
   But this, InPlaceResourceOptimization, can change the headers.
   
   Me too, not sure if the role of POSITION_AUX=true is still valid with 
dynamic modules, but I have mentioned it to say is an issue related on how the 
order nginx modules works is related to how headers are modified.
   
   W/o a whole knowlwdge of your installation I cna´t help much more, but I can 
suggest some things:
   As far as I can understand you only will transform jpg to webp images and 
let css and js files as it are.
   Why not disallow css and js files, some like:
   
   ```
   pagespeed Disallow */*.css*
   pagespeed Disallow */*.js*
   ```
   or use LoadFromFile (See: 
https://www.modpagespeed.com/doc/domains#ModPagespeedLoadFromFile)


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

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


Reply via email to