Igal, I don't think it is the jetty cache, as that only applies to static content rather than JSPs. It is probably the configuration of the JSP Servlet, which would be in the webdefault.xml descriptor included in the jetty-servlet.jar
The other thing to check is that it is not the browser cache. regards On 10 March 2017 at 12:25, Igal @ Lucee.org <[email protected]> wrote: > Hi, > > How can I disable the caching of static content in embedded Jetty? > > My embed code is like so (removed unrelated lines): > > WebAppContext webapp = new WebAppContext(); > webapp.setConfigurationClasses(new String[]{ > > "org.eclipse.jetty.webapp.WebInfConfiguration" > ,"org.eclipse.jetty.webapp.WebXmlConfiguration" > ,"org.eclipse.jetty.webapp.MetaInfConfiguration" > ,"org.eclipse.jetty.webapp.FragmentConfiguration" > ,"org.eclipse.jetty.webapp.JettyWebXmlConfiguration" > ,"org.eclipse.jetty.annotations.AnnotationConfiguration"}); > Server server = new Server(); > server.setHandler(webapp);WebSocketServerContainerInitializer.configureContext(webapp); > server.start(); > > The problem is that I have a javascript file that is not updating when I > modify it. The browser (Chrome) keeps showing "200 (from cache)" and the > contents are unchanged. > Any ideas? TIA! > -- > > Igal Sapir Lucee Core Developer Lucee.org <http://lucee.org/> > > _______________________________________________ > jetty-users mailing list > [email protected] > To change your delivery options, retrieve your password, or unsubscribe > from this list, visit > https://dev.eclipse.org/mailman/listinfo/jetty-users > -- Greg Wilkins <[email protected]> CTO http://webtide.com
_______________________________________________ jetty-users mailing list [email protected] To change your delivery options, retrieve your password, or unsubscribe from this list, visit https://dev.eclipse.org/mailman/listinfo/jetty-users
