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

Key: CACHE-161
Type: Sub-task Sub-task
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
CacheFilter easier sub-classing (CACHE-141)

CacheFilter easier sub-classing via isCacheable

Created: 10/Apr/05 06:53 AM   Updated: 10/Apr/05 06:53 AM
Component/s: Filters
Affects Version/s: 2.1
Fix Version/s: 2.2 RC


 Description  « Hide
It would be nice to add some improvements to the CacheFilter class in order to make it easier to have a sub-class.

"isCachable(request)" and "isCachable(response)" method could be called before to store a response into the cache, giving the possibility to implemented a custom algorithm in a sub-class.

A fine implementation of the method would be to test those "Pragme: no-cache" or "Cache-Control: private" response headers ...

 All   Comments   Change History      Sort Order:
There are no comments yet on this issue.