0
我有一個nginx web服務器設置,我需要爲我的索引頁指定單獨的瀏覽器級緩存失效(失效)。Nginx爲索引頁設置單獨的瀏覽器緩存失效
我試圖
location =/{
expires 1m;
root /data/site;
index index.htm;
}
location /{
expires 5d;
root /data/site;
}
index.htm網頁應該有1米但即時得到5D的響應頭到期。