Update of /cvsroot/roller/roller/src/org/roller/presentation/pagecache
In directory sc8-pr-cvs1:/tmp/cvs-serv2258/src/org/roller/presentation/pagecache
Modified Files:
PageCache.java
Log Message:
xdoclet has been generating filter declarations anyway, so I made it do it
correctly (by putting the filter names into the source files). I've commented
out the xdoclet filter-mappings though, since we need them to be in a
particular order (but they are there for future reference).
Index: PageCache.java
===================================================================
RCS file:
/cvsroot/roller/roller/src/org/roller/presentation/pagecache/PageCache.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** PageCache.java 16 Oct 2003 16:16:44 -0000 1.4
--- PageCache.java 20 Jan 2004 23:34:26 -0000 1.5
***************
*** 29,32 ****
--- 29,40 ----
* CommonsPageCache: to use the Jakarta Commons cache
*
+ * @web.filter name="PageCacheFilter"
+ * *web.filter-mapping url-pattern="/page/*"
+ * @web.filter-init-param name="handler" value=""
+ * @web.filter-init-param name="time" value="3600"
+ * description="Cache pages for a relatively short time because they may
+ contain dynamic content that, when updated, does not flush the page
+ cache (e.g. referer lists). Time is measured in seconds."
+ *
* @author Lance Lavandowska
* @author David M Johnson
-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
|