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

前端 未结 5 1180
终归单人心
终归单人心 2021-02-15 19:09

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:12

    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..:)

提交回复
热议问题