You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by ed2003 <ed...@yahoo.com> on 2009/11/02 14:29:31 UTC

How do I setup Tomcat ro refresh a directory faster than the default 5 seconds?


> I tried adding variations of the following to server.xml but it still
> takes 5
> seconds for a newly modified file to appear.  Anybody know what I am doing
> wrong? (If the file is new, it appears within a second or so.  But if it
> exists and is rewritten, it takes 5 sec)

>
> <Context path="/usr/share/tomcat5.5-webapps/ROOT/status"
>     cacheTTL="1" >
>    <WatchedResource>status/picture.png</WatchedResource>
>  </Context>
>

-- 
View this message in context: http://old.nabble.com/How-do-I-setup-Tomcat-ro-refresh-a-directory-faster-than-the-default-5-seconds--tp26156902p26156902.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org