ICEfaces
  1. ICEfaces
  2. ICE-2830

Increase Javascript Cache-Control max-age

    Details

    • Type: New Feature New Feature
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.7Beta1
    • Fix Version/s: 1.7RC1, 1.7
    • Component/s: Framework
    • Labels:
      None
    • Environment:
      All

      Description

      Right now the Javascript files have this in their response header:
          Cache-Control private, max-age=86400
      which is just caching for one day. Since we have versioned Javascript, we should be caching forever, or at least a month.

        Issue Links

          Activity

          Hide
          Mircea Toma added a comment -

          Set max-age to a month. Caching it forever would not be fair to the browser since the resource would never be disposed from its cache.

          Show
          Mircea Toma added a comment - Set max-age to a month. Caching it forever would not be fair to the browser since the resource would never be disposed from its cache.

            People

            • Assignee:
              Unassigned
              Reporter:
              Mark Collette
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: