开发者

Need help adding Expires headers

开发者 https://www.devze.com 2023-01-08 17:24 出处:网络
So basically I\'ve ran my site through ySlow and it has informed me that I should add Expires headers to some of the elements on my page to help with the caching. The page is mainly static content cur

So basically I've ran my site through ySlow and it has informed me that I should add Expires headers to some of the elements on my page to help with the caching. The page is mainly static content currently hosted on an Apache/2 server.

If it helps at all the site is here.

I'm not really sure how you alter the HTTP information or what the best way to add Expires headers is so I w开发者_Python百科ould greatly appreciate any help on this one.


You could use the mod_expires module of Apache2 to set the Expires header on your semi-static files. For reference: mod_expires documentation on apache.org

0

精彩评论

暂无评论...
验证码 换一张
取 消