tobsch commented on issue #1535: Pagespeed with downstream cache: How to cache 
static resources?
   Hi Otto,
   I already tried this, nginx rejects to start if I set Cache-Control:
   nginx_1         | 2018/02/13 10:02:34 [emerg] 72#72: "pagespeed" directive 
"AddResourceHeader Cache-Control public, max-age=600, 
stale-while-revalidate=86400, stale-if-error=86400" Rejecting header 
'Cache-Control ' in /var/www/html/conf/nginx/pagespeed.conf:114
   For all other headers it works:
   X-Foo: public, max-age=600, stale-while-revalidate=86400, 
   From my perspective, this is a bug and ModifyCacheHeaders should be 
independent from extend_cache. If it is disabled, I still want to be able to 
use extend_cache for the .pagespeed. resources.
   What do you think?

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:

With regards,
Apache Git Services

Reply via email to