tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Konstantin Kolinko <knst.koli...@gmail.com>
Subject Re: Can't disable caching of static content
Date Thu, 28 Oct 2010 09:05:58 GMT
2010/10/28 Alexander Rosemann <alexander.rosemann@gmail.com>:
> Hi,
>
> For some reason Tomcat keeps caching my static content even though I've set
> the cachingAllowed attribute to false. I've set the following attributes in
> %CATALINA_HOME%\conf\Catalina\localhost\myContext.xml:
>
> <Context path="/myContext" cachingAllowed="false" reloadable="true"
> crossContext="false" antiJARLocking="true" antiResourceLocking="true">
> ...
> </Context>
>
> I even tried to apply the settings to the %CATALINA_HOME%\conf\context.xml.
> Unfortunately, to no avail. Wat am I missing here? I'm running Tomcat 6.0.24
> on Win XP.
>

What are your evidences?
Note that, because of those anti** options in your Context, your
content is copied to some temporary directory and is served from there
and not from webapp/<appname>.

Best regards,
Konstantin Kolinko

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


Mime
View raw message