rafaelpatro opened a new issue #1905: Headers not respecting ModPagespeedDisallow for page scripts URL: https://github.com/apache/incubator-pagespeed-mod/issues/1905 Hi guys I'm trying to disable mod_pagespeed for some pages and it works. Nothing optimized when applying _ModPagespeedDisallow_. But pagespeed headers keep affecting JS files. ```apache ModPagespeedDisallow "*/checkout/*" ModPagespeedRewriteLevel OptimizeForBandwidth ModPagespeedDisableRewriteOnNoTransform off ModPagespeedEnableFilters inline_css,move_css_to_head,inline_preview_images,lazyload_images,defer_javascript,canonicalize_javascript_libraries,insert_dns_prefetch,extend_cache,combine_javascript,convert_meta_tags,inline_google_font_css Header always set Cache-Control "max-age=0, no-cache, no-store, must-revalidate" #not working ``` So I'm trying to set _cache-control_ directive for JS files and has no effect. But when I disable pagespeed completely my _cache-control_ headers works. ```apache ModPagespeedDisallow "*/checkout/*" ModPagespeedRewriteLevel OptimizeForBandwidth ModPagespeedDisableRewriteOnNoTransform off ModPagespeedEnableFilters inline_css,move_css_to_head,inline_preview_images,lazyload_images,defer_javascript,canonicalize_javascript_libraries,insert_dns_prefetch,extend_cache,combine_javascript,convert_meta_tags,inline_google_font_css ModPagespeed Off Header always set Cache-Control "max-age=0, no-cache, no-store, must-revalidate" #working ```
---------------------------------------------------------------- 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: [email protected] With regards, Apache Git Services
