1 Apr 2008 06:36
Re: [jetty-user] Weird caching issue
wbecker <wbecker <at> gmail.com>
2008-04-01 04:36:36 GMT
2008-04-01 04:36:36 GMT
I found out what the problem was by debugging the code line by line. It turns out that the DefaultServlet had compression enabled, so it was trying to find a.js.gz if it existed. Unfortunately, this was already there. So when I updated a.js but hadn't updated a.js.gz, I was still getting the old version. Deleting this file fixed up my issue. Thanks for your help, Will janb wrote: > > Will, > > Are you using Windows? It could be the windows nio filemapped buffer > problem: > http://docs.codehaus.org/display/JETTY/Files+locked+on+Windows > > regards > Jan > > wbecker wrote: >> I am running an embeded Jetty server, and I have a wierd issue, where >> altering files is not always reflected in on the http interface. >> >> Say I have a file a.js, and alter the code in it. It will not update, >> even >> if I stop and restart the server. However, if i rename it to aa.js, this(Continue reading)
RSS Feed