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.
Description
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.
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.
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.
One problem still exists: The last modified value will be different to the created value of the CacheEntry object.