[Opensymphony-oscache] Working with oscache

Francisco Jose Garcia Garcia <[email protected]> Thu, 26 May 2005 15:47:00 CDT
Newsgroups gmane.comp.java.open-symphony.os-cache
Message-ID <5671972.1117140450081.JavaMail.os-j2ee@opensymphony01.contegix.com>
We are working on a CMS based in jsp that uses a XML database which make it a little slow. We are now using oscache to cache it and we have got good results. We are using the CacheFilter but we found that we can not update in cache the files that have been visited by people because in the cache there is no url saved. So we have added and URL attribute to the CacheEntry object in order to re-caching urls (getURL(),setURL()). We had to modify Cache, CacheEntry and CacheFilter. Now we execute every night a jsp that reads from the diskcache entries (CacheEntry in disk), flushes every key and makes petitions of URL in the cache entries in order to re-caching this URLs.

What do you think about this process? Is there any different option? I am waiting for your answers. 

P.S. Sorry for my non standard english

---------------------------------------------------------------------
Posted via Jive Forums
http://forums.opensymphony.com/thread.jspa?threadID=2634&messageID=7325#7325