Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Expires headers on AppHarbor

Tags:

appharbor

Is there an easy way to add expires headers to static content coming from an appharbor site? I have a bunch of images, css and javascript files which have no expiry set and are holding me back on yslow.

like image 482
stimms Avatar asked Jan 29 '12 20:01

stimms


1 Answers

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>
like image 98
SLaks Avatar answered Oct 18 '22 07:10

SLaks