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

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

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

Default initialization of the last modified header

Created: 27/Apr/05 12:12 AM   Updated: 16/Oct/05 01:49 PM
Component/s: Filters
Affects Version/s: 2.1
Fix Version/s: 2.2 RC


 Description  « Hide
The last modified header used in CACHE-58 should be based on the cached object creation time by default. Hence the CacheFilter can send a SC_NOT_MODIFIED response more frequent and the transaction overhead can be reduced.

 All   Comments   Change History      Sort Order:
Lars Torunski - [29/Apr/05 11:36 AM ]
The header information has to be set in the constructor of the CacheHttpServletResponseWrapper class, because sub filters can reset the value and the writeTo method of ResponseContent can set the value in the response.

One problem still exists: The last modified value will be different to the created value of the CacheEntry object.