Yeah you should be able to cache / compress resources with Apache http. If
your resources are dynamic (session dependant) then offcourse it's not
possible.

2010/1/25 Douglas Ferguson <doug...@douglasferguson.us>

> 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
>
>

Reply via email to