How to improve speed on a Razor page with expire headers and Gzip compression?

102 Views Asked by At

When testing my website on tools.pingdom.com I get a warning that I should compress components with Gzip and also that I should add expires headers. I have set Common headers in IIS to 7 days, but this does not seem to help. Is there a programmatic way to set this?

0

There are 0 best solutions below