Why does Browser still sends request for cache-control public with max-age?

前端 未结 4 1128
余生分开走
余生分开走 2020-12-08 13:16

I have Amazon S3 objects, and for each object, I have set

Cache-Control: public, max-age=3600000

That is roughly 41 days.

And I hav

4条回答
  •  南方客
    南方客 (楼主)
    2020-12-08 13:38

    If Chrome Developer Tools are open (F12), Chrome usually disables caching.

    It is controllable in the Developer Tools settings - the Gear icon to the right of the dev-tools top bar.

提交回复
热议问题