tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dennis Thrysøe <...@geysirit.dk>
Subject Re: Delay / caching of resources?
Date Wed, 07 Jan 2009 09:51:29 GMT
On 7Jan, 2009, at 10:45, Peter Crowther wrote:
>> From: Dennis Thrysøe [mailto:dth@geysirit.dk]
>> However, when such HTML files are added or modified to the webapp
>> (exploded directory) it takes something like 5 or 10 seconds before
>> they can be served by tomcat.
>
> A wild stab in the dark based on something that happened to me...
>
> How are you adding the files to the webapp?  In particular, are you  
> referencing the folder via a network file system, and if so is there  
> any clock skew between the server and the machine from which you're  
> adding the files?  This can cause odd timestamps on the new files,  
> which may in turn lead to some applications not using them correctly  
> if the timestamps are "in the future" as far as the server's  
> concerned.

No, the webapp is local and the modifications (new files and/or  
altered content) actually come from a servlet in the same tomcat  
context.

> If you're adding the files on the same machine, this doesn't apply  
> and I'll crawl back under my rock ;-).

Thanks anyway :)


-dennis

--
Geysir IT
dth@geysirit.dk
http://geysirit.dk
+45 31 51 60 00


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


Mime
View raw message