oschaaf commented on issue #1535: ModifyCachingHeaders should only apply to 
html responses
URL: 
https://github.com/apache/incubator-pagespeed-ngx/issues/1535#issuecomment-365253793
 
 
   The relevant code is over at 
https://github.com/apache/incubator-pagespeed-ngx/blob/master/src/ngx_pagespeed.cc#L1892
   
   AFAICT mod_pagespeed's `build_context_for_request()`  is only called in the 
html filter. At a glance it seems the code linked above needs to moved so it 
only executes in the html rewriting flow.

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

Reply via email to