RE: Tomcat 5.23: caching of css files?
Hi Peter, following your advice, i set the production server to have the same time zone as my development machine, the problem goes away! Thanks. A.C. Peter Crowther wrote: > >> From: Angelo Chen [mailto:[EMAIL PROTECTED] >> 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. > > Is that a browser issue? What happens if you force a full refresh of > the page in the browser, or clear the browser's cache and reload? > > Is it a file timestamp issue? Do you have clock skew or timezone > differences between your development and production systems, such that > the revised CSS "looks" older than it really is? > > - Peter > > - > To start a new topic, e-mail: users@tomcat.apache.org > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/Tomcat-5.23%3A-caching-of-css-files--tf4593435.html#a13117886 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Tomcat 5.23: caching of css files?
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 <[EMAIL PROTECTED]> 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:[EMAIL PROTECTED] > >> 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 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: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > -- > 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: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Tomcat 5.23: caching of css files?
> From: Angelo Chen [mailto:[EMAIL PROTECTED] > 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. Is that a browser issue? What happens if you force a full refresh of the page in the browser, or clear the browser's cache and reload? Is it a file timestamp issue? Do you have clock skew or timezone differences between your development and production systems, such that the revised CSS "looks" older than it really is? - Peter - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Tomcat 5.23: caching of css files?
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:[EMAIL PROTECTED] >> 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 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: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Tomcat 5.23: caching of css files?
> From: Angelo Chen [mailto:[EMAIL PROTECTED] > 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 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Tomcat 5.23: caching of css files?
Hi, 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, if I use the IP to access, the new css file is in effect, does tomcat 5.23 cache those css files? anyway to clear it? Thanks. A.C. -- View this message in context: http://www.nabble.com/Tomcat-5.23%3A-caching-of-css-files--tf4593435.html#a13113192 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]