tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexander Rosemann <alexander.rosem...@gmail.com>
Subject Re: Can't disable caching of static content
Date Thu, 28 Oct 2010 10:17:12 GMT
I simply changed a static HTML file. I haven't tried disabling all the
other options though. Thanks for the hint.

On Thu, Oct 28, 2010 at 11:05 AM, Konstantin Kolinko
<knst.kolinko@gmail.com> wrote:
> 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
>
>

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


Mime
View raw message