Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-7457

Remove meta cache control elements from Confluence HTML

XMLWordPrintable

    • We collect Confluence feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.

      The default Wiki pages include in their header:

      <META HTTP-EQUIV="Pragma" CONTENT="no-cache">
      <META HTTP-EQUIV="Expires" CONTENT="-1">

      But Pragma: no-cache and Expires=-1 are HTTP headers defined in HTTP/1.0, not HTTP/1.1. It's not really appropriate for most enterprise deployments, where everyone is running a browser newer than IE 5.

      There is no reason to 'not cache'. You just want to validate the cache. With Pragma: no-cache, some browsers will not let you use the page you already loaded when you hit the 'back' button, and thus reload the page, scroll to the top, throw away any form data that might already be partially filled in.

      It would be better to use HTTP/1.1 constructs; perhaps

      cache-control: max-age=0

      and even better to put that in the HTTP server, rather than sticking it into every HTML page sent over the net.

              pfragemann Per Fragemann [Atlassian]
              98b1539ce087 Larry Masinter
              Votes:
              3 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: