You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-user@portals.apache.org by Josh Hone <ic...@hotmail.com> on 2002/05/29 03:23:16 UTC

Caching a non-OCS, non-RSS XML feed

Hi again -

  Let me know if I am on the right track here...I have an XSLPortlet that 
translates an XML feed that is updated every second.  The translation works 
fine, and so to try to get the DiskCacheDaemon to update the XML file in 
WEB-INF/cache I have altered the following two lines in 
JetspeedResources.properties:
*  daemon.diskcachedaemon.interval=120
to tell the daemon to look at the files in WEB-INF/cache every 120 seconds 
and refresh them if they are expired according to their HTTP information and
*  http.lifetime=-1
to disable browser caching of the portal.

So, if the DiskCacheDaemon is not pulling in a new XML file every 120 
seconds, then the XML file must not be expiring at the end of 120 seconds, 
right?  I read something in the archives about altering a hard-coded 
interval in DiskCacheEntry.java, but then later someone suggested that this 
property in the JetspeedResources.properties file is all you need to change.

Regards,
Josh Hone
Florida State University
Physics Dept.



_________________________________________________________________
Send and receive Hotmail on your mobile device: http://mobile.msn.com


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>