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

          Mark Collette created issue -
          Ken Fyten made changes -
          Field Original Value New Value
          Fix Version/s 1.7 [ 10080 ]
          Assignee Priority P2
          Assignee Mircea Toma [ mircea.toma ]
          Ken Fyten made changes -
          Link This issue blocks ICE-2831 [ ICE-2831 ]
          Repository Revision Date User Message
          ICEsoft Public SVN Repository #15983 Mon Mar 10 13:04:29 MDT 2008 mircea.toma Set max-age to a month.
          ICE-2830
          Files Changed
          Commit graph MODIFY /icefaces/trunk/icefaces/core/src/com/icesoft/faces/webapp/http/common/standard/CacheControlledServer.java
          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.
          Mircea Toma made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          Ken Fyten made changes -
          Fix Version/s 1.7RC1 [ 10123 ]
          Fix Version/s 1.7 [ 10080 ]
          Ken Fyten made changes -
          Fix Version/s 1.7 [ 10080 ]
          Ken Fyten made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          Assignee Priority P2
          Assignee Mircea Toma [ mircea.toma ]

            People

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

              Dates

              • Created:
                Updated:
                Resolved: