inconsistent browser caching
cheers folks,
i recently wondered why i didn't see new content on typo3.org (a colleague told me about something i couldnt find). end of story was: i had an old version in my browser cache, so i had a look on why that was the case (since i didnt visit typo3.org for like a week). in my point of view the max-age for the cache-control is too high (31 days for html):
cache-control: max-age=2678400, private
The exipres-date looks way better (1 day):
expires: Thu, 17 Jan 2019 07:27:54 GMT
That being said, IF a cache-control header with max-age or smax-age directive is send in the response, the expires date will be ignored:
https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Expires
So i would say setting max-age to 86400 would be the best way to go to make the settings consistent (and prevent people from missing out on new stuff on typo3.org :) )
greetings,
Hannes