jmarantz commented on issue #1575: RewriteLevel PassThrough still processing 
static files
URL: 
https://github.com/apache/incubator-pagespeed-ngx/issues/1575#issuecomment-581152125
 
 
   recompress_images will definitely cache & optimize image files, but that
   doesn't explain css/js. ImagePreserveURLs means it doesn't rewrite URLs but
   it will still optimize images in place, and to do that it must cache them
   -- pagespeed will serve origin content rather than blocking an HTTP
   response on a compute-intensive rewrite.
   
   I'm not sure why CSS files are still being rewritten given your config. My
   guess is that there is an issue with the scope of your config, e.g. you
   have set up the above config on a vhost but pagespeed is associating your
   rewrite with a different vhost. E.g. you are serving your static assets
   from a different domain than the configuration.
   
   This doc about inheriting vhost config may be helpful:
   
   https://www.modpagespeed.com/doc/configuration#virtual-hosts
   
   On Sun, Feb 2, 2020 at 11:25 AM Dmitry <notificati...@github.com> wrote:
   
   > Thank you for your attention! Here is my config:
   >
   >         pagespeed RewriteLevel PassThrough;
   >         pagespeed EnableFilters recompress_images;
   >         pagespeed EnableFilters in_place_optimize_for_browser;
   >         pagespeed ImagePreserveURLs On;
   >         pagespeed DisableFilters inline_google_font_css;
   >
   > Adding last line did not help. ngx_pageseed gzipped and cached all js and
   > css files.
   >
   > —
   > You are receiving this because you commented.
   > Reply to this email directly, view it on GitHub
   > 
<https://github.com/apache/incubator-pagespeed-ngx/issues/1575?email_source=notifications&email_token=AAO2IPNVWXEPROZAX5FFCPDRA3XWFA5CNFSM4FHL5UT2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEKR2UZQ#issuecomment-581151334>,
   > or unsubscribe
   > 
<https://github.com/notifications/unsubscribe-auth/AAO2IPN2SKWWYODCU2BHLSTRA3XWFANCNFSM4FHL5UTQ>
   > .
   >
   

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


With regards,
Apache Git Services

Reply via email to