try maxCachedFiles set to 0, that might do it or setting cacheControl to 'no-store,no-cache,must-revalidate' to have the browser do the right thing in your case
cheers, jesse -- jesse mcconnell [email protected] On Mon, Feb 28, 2011 at 08:42, Andre Ben Hamou <[email protected]> wrote: > Hi all, > > I thought I'd try reposting this before I raise a ticket about it... > > On 16 Dec 2010, at 23:35, Michael Gorovoy wrote: > >> Have you tried flushing the browser cache to ensure that your problem is not >> in the browser that cashes the response? > > Indeed I have (and tried a raw curl just to make sure). I'm afraid that the > caching is definitely on the server side. > >> On Thu, Dec 16, 2010 at 10:06 AM, Andre Ben Hamou <[email protected]> >> wrote: >> Hi all, >> >> Apologies for the newbie question but I've gone snowblind trying to read the >> (somewhat sparse ;-)) docs on the deployers, the contexts, the managers and >> the default servlet. >> >> I have a simple WAR that is almost all code with a tiny index page in the >> root. I use an atomic rsync to push new versions of the war (as root.war) up >> to the webapps folder on my server. Jetty hot-deploys the classes / libs >> flawlessly. However, the index.html update is ignored. I assumed this was >> because the default servlet was caching it (and failing to flush it's cache >> as I would expect upon a new deploy). However, setting... >> >> <init-param> >> <param-name>maxCacheSize</param-name> >> <param-value>0</param-value> >> </init-param> >> >> ...in webdefault.xml (which is what the instructions say to do to disable >> the cache) did not alleviate my problem. >> >> So my question, quite simply, is... >> >> How do I get the DefaultServlet to stop serving old versions of static files >> at the WAR root when I do a hot deploy? > > Cheers, > > Andre > > -- > > ...and, on the seventh day, God switched off his Mac > > ...and then read http://www.prfsa.com > > _______________________________________________ > jetty-users mailing list > [email protected] > https://dev.eclipse.org/mailman/listinfo/jetty-users > _______________________________________________ jetty-users mailing list [email protected] https://dev.eclipse.org/mailman/listinfo/jetty-users
