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

前端 未结 4 1131
余生分开走
余生分开走 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条回答
  •  萌比男神i
    2020-12-08 13:49

    If the HTTP Response contains the etag entry, the conditional request will always be made. ETag is a cache validator tag. The client will always send the etag to the server to see if the element has been modified.

提交回复
热议问题