Chrome doesn't send “If-Modified-Since”

前端 未结 5 2091
长发绾君心
长发绾君心 2021-02-15 19:35

I want browsers to always add (except first time) \"If-Modified-Since\" request header to avoid unnecessary traffic.

Response headers are:

Accept-Ranges:         


        
5条回答
  •  滥情空心
    2021-02-15 20:15

    I had the same problem, in Chrome all requests were always status code 200, in other browsers 304.

    It turned out I had the disable cache (while DevTools is open) checked in on Devtools - Settings - General page..:)

提交回复
热议问题