3urdoch opened a new issue #1575: RewriteLevel PassThrough still processing 
static files
URL: https://github.com/apache/incubator-pagespeed-ngx/issues/1575
 
 
   I have an Nginx instance with the following in the main nginx.conf file 
which engages PassThrough mode and then just enables `convert_meta_tags`, 
`inline_google_font_css`, `collapse_whitespace`, `remove_quotes`.
   
   ```
       pagespeed unplugged;
       pagespeed FileCachePath /var/ngx_pagespeed_cache;
       pagespeed RewriteLevel PassThrough;
       pagespeed EnableFilters convert_meta_tags;
       pagespeed EnableFilters inline_google_font_css;
       pagespeed EnableFilters collapse_whitespace;
       pagespeed EnableFilters remove_quotes;
   ```
   
   Then in a specific server, I have enabled this configuration with:
   
   ```
   server {
     ...
     pagespeed on:
    ...
   }
   ```
   
   On version `1.9.10` this would, as expected only enable the selected 
filters. And would have no effect on any other resources like CSS or Javascript 
files. On version `1.13.35.2` I am now finding that my static resources are 
cached by pagespeed and changes are not reflected when the file is served by 
nginx. Each time a change is made, i need to flush the pagespeed cache to see 
the change reflected.
   
   I have experimented by explicitly disabling all filters processing CSS with 
`DisableFilters` and `ForbidFilters` or setting no removing all the 
`EnableFilters` lines and just leaving `RewriteLevel passthough;` with no luck, 
Pagespeed still caches my CSS.
   
   I can't see anything in the documentation that suggests the configuration 
has changed between 1.9 and 1.13 other than a change for `pagespeed:off;` to 
`pagespeed:unplugged;` which i have changed, other than that I would expect it 
to behave as it did before.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to