我從Google Speed測試中得到這個錯誤:Google Speed利用瀏覽器緩存
以下可緩存資源的新鮮度生存期較短。爲以下資源指定將來至少一週的到期日期:
http://localhost/english/favicon.ico (expiration not specified)
http://localhost/english/images/bg_center.png (expiration not specified)
http://localhost/english/images/bg_top.jpeg (expiration not specified)
http://localhost/english/images/footer_bg2.png (expiration not specified)
http://localhost/english/images/m_facebook.png (expiration not specified)
http://localhost/english/images/m_rss.png (expiration not specified)
http://localhost/english/images/top_bg.png (expiration not specified)
http://localhost/english/javascript/gram.js (expiration not specified)
http://localhost/english/javascript/top_start.js (expiration not specified)
http://localhost/english/jquery.js (expiration not specified)
http://localhost/english/style/gram.css (expiration not specified)
http://localhost/english/style/style.css (expiration not specified)
我應該在我的htaccess文件中執行某些操作嗎?
如何使用web.config文件做呢? (在Windows中),這可以在共享託管中完成嗎? – Benny
我對windows系統沒有多少了解。如果它是主機提供商沒有限制的目錄特定配置,它也應該在共享主機環境中工作。 – Sukumar