jstangroome commented on issue #1556: Combined css returns truncated, 
mis-encoded body on cache hit
URL: 
https://github.com/apache/incubator-pagespeed-ngx/issues/1556#issuecomment-388261484
 
 
   I've done some further investigation.
   
   The URL that is failing doesn't exactly match the URL present in the HTML. 
The pagespeed hashes in the URL are different. From this I've been able to 
reproduce the issue more reliably.
   
   Take the URL from the HTML (it must be `cc` [combine_css] and `cf` 
[rewrite_css]), e.g.:
   `/css/A.store.css+vendor.css,Mcc.HBFc8IpUqh.css.pagespeed.cf.OBCdvpW_8K.css`
   
   Change the `cc` hash, changing the first `H` to a `h` instead is enough in 
this example:
   `/css/A.store.css+vendor.css,Mcc.hBFc8IpUqh.css.pagespeed.cf.OBCdvpW_8K.css`
   
   Request the URL once with `Accept-Encoding: gzip` and get a cache miss and a 
correct response. Request it again and get  a cache hit and an incorrectly 
decompress body.
   
   If only `combine_css` is used and `rewrite_css` is removed, it does not 
occur - it seems to be related to the way the two filters interact. Modifying 
the `cf` hash seems to have no impact.

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