Hi Joerg, 

I am facing the same issue with Tomcat 6.0 and caching of files. I'd really
appreciate it if anyone could explain how caching could be disabled.

Many thanks!


Christopher Schultz-2 wrote:
> 
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Joerg,
> 
> Joerg Endrullis wrote:
>>  $ ln -s x.jpg a.jpg;
>>  $ wget http://localhost:8180/a.jpg?time=0;
>>  $ rm a.jpg;
>>  $ ln -s y.jpg a.jpg;
>>  $ wget http://localhost:8180/a.jpg?time=1
> 
> My brain hurts. How about:
> 
> $ wget -O t0.jpg http://localhost:8180/a.jpg?time=0
> $ wget -O t1.jpg http://localhost:8180/a.jpg?time=1
> 
> ...and then compare the two.
> 
>> You will see that both downloaded images a.jpg.1 and a.jpg.2 are equal
>> to x.jpg,
> 
> Er, where did a.jpg.1 and a.jpg.2 come from? I think you are confusing
> yourself with the symlinks, wget, etc. even if Tomcat does have a
> problem. Simplifying your process will surely help.
> 
> Is a.jpg changing on the server at some point? You say this is a static
> resource, but you never specified that you were changing the remote file
> at all. When/how does that happen?
> 
> - -chris
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.9 (MingW32)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
> 
> iEYEARECAAYFAkjRey0ACgkQ9CaO5/Lv0PAUvgCgi7ziGeHwW9LMGocay39egavO
> a4gAoLX5EmwTEcKbZnwK+bXOUl4nzEB+
> =mdAN
> -----END PGP SIGNATURE-----
> 
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/disable-caching-of-static-files-in-tomcat-5.5-tp19509596p24848333.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


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

Reply via email to