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

Key: CACHE-123
Type: New Feature New Feature
Status: Open Open
Priority: Major Major
Assignee: Andres March
Reporter: Davide Baroncelli
Votes: 0
Watchers: 0
Operations

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

Provide a "default content" feature instead of the "missing cached content" string

Created: 08/Nov/04 11:34 AM   Updated: 26/Jan/06 05:32 AM
Component/s: None
Affects Version/s: None
Fix Version/s: 3.0


 Description  « Hide
We have deployed oscache in a configuration where contents are extracted from a db: the "usecached" feature is great in that if the connection to that db is down (this can happen in our situation) we can revert to the cached version. But what happens if there is NO cached version? (e.g. the disk version has been erased and there is no memory version for the content?): the "missing cached content" string is returned instead. It would be great if one could specify a "fallback" jsp (both with a file name or an embedded content) for all cases such as this one.

 All   Comments   Change History      Sort Order:
Mark Platvoet - [26/Jan/06 05:32 AM ]
I have the same problem. But I would like to suggest that rather then using a "fallback" jsp to use some sort of ContentStrategy interface class. So a concrete implementation could be a JspIncludeContentStrategy which makes to whole system better configurable and maintainable.