History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: CACHE-240
Type: Improvement Improvement
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Lars Torunski
Reporter: Lars Torunski
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
OSCache

Default initialization of the Cache-Control max-age

Created: 25/Mar/06 12:52 AM   Updated: 01/Mar/07 04:31 PM
Component/s: Filters
Affects Version/s: 2.3
Fix Version/s: 2.3.1


 Description  « Hide
The Cache-Control max-age should be set in the response headers by default. The max-age information should be intialized based on the time parameter

http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.9.3
http://wiki.opensymphony.com/display/CACHE/CacheFilter

 All   Comments   Change History      Sort Order:
Lars Torunski - [02/Apr/06 01:00 AM ]
Specifies the maximum amount of time in seconds that the cache content will be considered new in the browser's cache. The browser will retrieve the content from it's own cache for the amount of time without requesting the web server again. The default max-age time is 60 seconds. Combined with the last modified header the transaction overhead and server load is reduced excellently which speed ups the server response time. Further parameters are no init for don't initializing the max-age cache control and time to set max-age based on the time parameter and creation time of the content (expiration timestamp minus current timestamp) by each request.