iT邦幫忙

0

IIS8 的HTTP回應標頭Cache-Control 問題

大家好

關於IIS Cache-Control 設定, 有些疑問請幫忙解說

網站的HTTP回應標頭 (7日)及 輸出快取處理(.css .gif .js) 是用繼承方式 .
輸出快取處理 : 使用者模式原則 (保持快取直到變更為止)

問題一: response headers 這行 Cache-Control: no-cache,max-age=604800
中no-cache 與 max-age 為何同時存在? 這樣正常嗎?

https://ithelp.ithome.com.tw/upload/images/20190324/20107808m1mN9HErlG.jpg

問題二 : 若是正式上線的網站 , 請問您在HTTP回應標頭及輸出快取處理如何設定?
(我的網站有HTML & .net)

先謝謝各位!

fillano iT邦超人 1 級 ‧ 2019-03-25 09:56:22 檢舉
https://developers.google.com/web/fundamentals/performance/optimizing-content-efficiency/http-caching?hl=zh-tw 底下有個cache-control的決策樹
圖片
  直播研討會
圖片
{{ item.channelVendor }} {{ item.webinarstarted }} |
{{ formatDate(item.duration) }}
直播中

尚未有邦友回答

立即登入回答