users@glassfish.java.net

Re: Disable cache for static files of a web application

From: <glassfish_at_javadesktop.org>
Date: Tue, 08 Sep 2009 18:19:39 PDT

hi Felipe,

Now for IE side, it is fine adding expires header... the problem is for server side, after changed by a server side program, those static files when accessed by http, still are the old ones.... need to re-deploy...

Currently I am working in another way, is to add a servlet to read these xml files instead of using http to access.. this is a better way.. however ,just curious, why after set no cache for server side, sometime those files are still cached... thanks
[Message sent by forum member 'nedvedyy' (yangyong_at_mediacorp.com.sg)]

http://forums.java.net/jive/thread.jspa?messageID=363304