tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lyallex <lyal...@gmail.com>
Subject Re: Tomcat 5.23: caching of css files?
Date Tue, 09 Oct 2007 13:03:43 GMT
Did you clear your browser cache ?

If you access the application via different adresses AFAIK the browser
sees identical files as being different due to those different
addresses (FQDN versus IP address).

I had similar problems that dissapeared after I cleared out the browser cache

It's just a thought.

On 10/9/07, Angelo Chen <angelochen960@yahoo.com.hk> wrote:
>
> Hi Charles,
>
> this is what I did:
>
> 1. shut down tomcat
> 2. delete war and related directory
> 3. copy new war file
> 4. start tomcat
>
> with all above, I'm still getting pages styled with old css file, it will go
> away after several hours. kind of strange.
> A.C.
>
>
> Caldarale, Charles R wrote:
> >
> >> From: Angelo Chen [mailto:angelochen960@yahoo.com.hk]
> >> Subject: Tomcat 5.23: caching of css files?
> >>
> >> I have tomcat 5.23 in ubuntu 7.04, if I update the war file
> >> and access it thru domain name, the css file is not updated
> >> even i clear everything in my browser
> >
> > I haven't tried it, but you may have to restart the webapp in order to
> > get the updated .css file loaded; just changing the .war file may not do
> > that.  Did you try restarting the app manually?  You could provide the
> > name of the .css file as a <WatchedResource> to do it automatically.
> >
> >  - Chuck
> >
> >
> > THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
> > MATERIAL and is thus for use only by the intended recipient. If you
> > received this in error, please contact the sender and delete the e-mail
> > and its attachments from all computers.
> >
> > ---------------------------------------------------------------------
> > To start a new topic, e-mail: users@tomcat.apache.org
> > To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> > For additional commands, e-mail: users-help@tomcat.apache.org
> >
> >
> >
>
> --
> View this message in context: http://www.nabble.com/Tomcat-5.23%3A-caching-of-css-files--tf4593435.html#a13114923
> Sent from the Tomcat - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>

---------------------------------------------------------------------
To start a new topic, e-mail: users@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