tobsch commented on issue #1535: ModifyCachingHeaders should only apply to html responses URL: https://github.com/apache/incubator-pagespeed-ngx/issues/1535#issuecomment-382755965 @oschaaf Took a look at the code and found out that setting DownstreamCachePurgeLocationPrefix helps to prevent the unwanted behaviour. ``` pagespeed DownstreamCachePurgeLocationPrefix http://localhost:80; ``` But I think there should be a more explicit way to do so, this feels hacky. My best idea would be that you add an explicit EnableDownstreamCaching option which is implicitly being set if someone uses DownstreamCachePurgeLocationPrefix. 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: us...@infra.apache.org With regards, Apache Git Services