Uploaded image for project: 'Tapestry'
  1. Tapestry
  2. TAPESTRY-969

add "cache-control" header

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.3, 3.0, 3.0.1, 3.0.2, 4.0.2, 4.0.1, 4.0, 3.0.5
    • 4.1
    • Framework
    • None
    • tomcat

    Description

      I hit a major bug with proxies after trying our website with tapestry 4 + friendly URLs. Our ISA server is configured to proxy agressively and as a consequence, tapestry pages got cached although their content is dynamic. After comparing this to another webserver for which the caching did not occur, the other webserver had a "Cache-Control" directive.
      I suggest for tapestry to add a "Cache-Control" header equals to "private,no-cache,no-store" when a page is requested and "max-age=3600" for assets.

      Attachments

        Activity

          People

            Unassigned Unassigned
            hdupre Henri Dupre
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: