Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Attempting to extend cache for SVGs returns bad headers/content. #1496
In relation to #1221, I decided to try and extend the cache on SVGs and fonts that I had hashed outside of Pagespeed. With
The error appears to be because the content is no longer gzipped, though the header says otherwise. I tried to achieve this with the following config.
Interestingly, the woff fonts are fine. Turning off Gzipping for
Hopefully I have just made a silly config error. Any help much appreciated.
Reproduced on master.
Maybe the fix is as simple as clearing the response headers before updating the status to 501.