You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pagespeed.apache.org by GitBox <gi...@apache.org> on 2021/05/01 09:11:48 UTC

[GitHub] [incubator-pagespeed-mod] Lofesa commented on issue #1148: Support Brotli as an encoding scheme when client has Accept-Encoding

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:
users@infra.apache.org