oschaaf 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-388730282 @jstangroome awesome, I have it reproduced now! So one prerequisite that I think exists for the problem to show up is that the first request happens *without* `Accept-Encoding: gzip`. Then subsequent requests that do indicate `Accept-Encoding: gzip` will get the problematic responses. You also noted that pruning the css-file smaller reduces likelihood of the problem to show up. One thing I can think of is that perhaps nginx is able to correct the content-length if the full response can be fitted into a single output buffer -- masking the problem. But that is speculation. I'll dive in, and update here when i know more.
---------------------------------------------------------------- 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