[英]Force Cache-Control: no-cache in Chrome via XMLHttpRequest on F5 reload
[英]Chrome is sending Cache-control:no-cache header
您可能Disable cache (while DevTools is open)
的 Preferences 面板中選擇了Disable cache (while DevTools is open)
選項。
很容易忘記它! 無論如何,這就是發生在我身上的事情。 取消選中該選項並重試。
我想添加到已接受的答案中,即在 Mac 上使用 CMD-SHIFT-R 刷新或在 Windows 上使用 CTRL-SHIFT-R 刷新也會發送Cache-Control: no-cache
。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.