AppHarbor Headers Expire

Is there an easy way to add finishes headers for static content coming from the appharbor site? I have a bunch of images, css and javascript files that don't expire and keep me on yslow.

+6
source share
1 answer

You can do this in Web.config:

<system.webServer> <staticContent> <clientCache httpExpires="Sun, 29 Mar 2020 00:00:00 GMT" cacheControlMode="UseExpires" /> </staticContent> </system.webServer> 
+4
source

Source: https://habr.com/ru/post/907174/


All Articles