[Opensymphony-oscache] OSCache: how to know whether a page will expire when a request comes?
Said <[email protected]> Wed, 28 Nov 2007 01:57:53 CST
| Newsgroups | gmane.comp.java.open-symphony.os-cache |
|---|---|
| Message-ID | <27109754.1196236823186.JavaMail.os-j2ee@opensymphony01.managed.contegix.com> |
Hi, [b]Background[/b]: In my project, I use OSCache to cache the homepage, which read much data from database. While I'm afraid the cache only creates a cached page; and each time the database reading still happens. [b]Question[/b]: Is it possible: for each http request, I get some flag to know whether this time the cached page will expire and be replaced; only if it's true, will I read the database. Thanks and kind regards, Said --------------------------------------------------------------------- Posted via Jive Forums http://forums.opensymphony.com/thread.jspa?threadID=170057&messageID=244253#244253