Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • T typo3.org
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 56
    • Issues 56
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 9
    • Merge requests 9
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • servicesservices
  • t3o sites
  • typo3.orgtypo3.org
  • typo3.org
  • Issues
  • #378
Closed (moved) (moved)
Open
Issue created Jan 16, 2019 by Hannes Strangmeier@hstr

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

Assignee
Assign to
Time tracking