0

I just read that files that do have Expires Headers should not be requested again until they expire.

While testing some caching stuff I wonderd why files do have a size and do consume time on "Content Download" on chrome dev tools, even if they got a max-age set and should be loaded from cache without sending any request?

Any explanations?

Expires headers, but request

Glorfindel
  • 20,880
  • 13
  • 75
  • 99
haeki
  • 130
  • 1
  • 2
  • 10

1 Answers1

0

Quoting from this answer:

Chrome appears to be ignoring your Cache-Control settings if you're reloading in the same tab. If you copy the URL to a new tab and load it there, Chrome will respect the cache control tags and reuse the contents from the cache.

Community
  • 1
  • 1
TomTasche
  • 5,292
  • 6
  • 40
  • 65