How are you frontending Tomcat with Apache? If it's by proxying, you may just be able to configure it to do the gzip for you on anything in the resources "directory".
-- Jeremy Thomerson http://www.wickettraining.com On Sun, Jan 24, 2010 at 10:30 PM, Douglas Ferguson < doug...@douglasferguson.us> wrote: > Hmm... Actually, I'm wanting to gzip them are they gziped? > > Another thought was to do something like this: > > Alias /resources/com.package/ > /user/local/tomcat5.5/webapps/resources/path/to/package > > So that apache can serve up the static content.. > > D/ > > On Jan 24, 2010, at 9:18 AM, Martin Grigorov wrote: > > > On Sun, 2010-01-24 at 03:19 -0800, Douglas Ferguson wrote: > >> I recently configured apache to gzip my js files instead of going > through tomcat. > >> > >> Can this be done for the js files that are loaded as resources? > > see > > Application.get().getResourceSettings().getJavascriptCompressor() > > > > if this returns "null" then any JavascriptPackageResource will be not > > compressed > >> > >> D/ > >> --------------------------------------------------------------------- > >> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > >> For additional commands, e-mail: users-h...@wicket.apache.org > >> > >> > > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > > For additional commands, e-mail: users-h...@wicket.apache.org > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > >