怎么设置html文件和图片的缓存时间
我用page speed测试网站性能时,有提显示说页面图片没有设置缓存时间。
请问,如何设置与个html页面和图片的缓存时时间?
----------------------------
原page speed提示:
The following resources are missing a cache expiration. Resources that do not specify an expiration may not be cached by browsers. Specify an expiration at least one month in the future for resources that should be cached, and an expiration in the past for resources that should not be cached:
google翻译:以下资源缺少一个缓存过期。资源不指定期限不得由浏览器缓存。在指定的,应缓存资源的未来到期至少一个月,并在过去的资源过期不应该缓存:
* http://www.kz27.com/images/20091024.jpg
* http://www.kz27.com/images/about.gif
* http://www.kz27.com/images/addsite.gif
* http://www.kz27.com/images/css.css
* http://www.kz27.com/images/detail_img.jpg
* http://www.kz27.com/images/foot-L.jpg
* http://www.kz27.com/images/foot-M.jpg
* http://www.kz27.com/images/foot-R.jpg
* http://www.kz27.com/images/gaiban.gif
.....(下面还有)
谢谢!
[解决办法]
该回复于2012-05-15 08:12:48被版主删除
[解决办法]
。。。。好久没有过来看下