Hi,

You have asked the same question 2 years ago :-)
http://mail-archives.apache.org/mod_mbox/wicket-users/201211.mbox/%3CCALpvOjtq4=hWkLO=ShUBfG7cZFS+yB-XmWgU+worrgYcTk=+3...@mail.gmail.com%3E

How does the GZipFilter configuration looks like in your web.xml ?
Put a debugger in it and see what happens when a Wicket static resource is
requested.

Martin Grigorov
Freelancer, available for hire!
Wicket Training and Consulting
https://twitter.com/mtgrigorov

On Sun, Apr 5, 2015 at 8:52 PM, Nick Pratt <nbpr...@gmail.com> wrote:

> We've checked all the headers and everything looks fine.  The only
> difference between whether or not Jetty 9.x gzips the files is whether
> Wicket serves the resources.  Wicket generated HTML markup is gzipped, as
> are all static resources served by Jetty's DefaultServlet.  Any .js or .css
> files served as PackageResources are not served gzipped to the client.
>
> N
>
> On Sun, Apr 5, 2015 at 3:33 AM, Christoph Läubrich <lae...@googlemail.com>
> wrote:
>
> > Have you checked that the correct content-type is specified?
> > We use Jetty8 in a project with Wicket6 and serving package resource
> files
> > gzipped works without a problem.
> > What kind of Packe-Resource-Files do you see not beeing gziped? Can you
> > share Request/Response headers?
> >
> > Am 03.04.2015 23:56, schrieb Nick Pratt:
> >
> >> Can resources served from Wicket be gzipped by Jetty's GzipFilter?
> >>
> >> We've added the GzipFilter to a simple Quickstart (in front of the
> >> WicketFilter).  We can request and receive gzipped files (such as static
> >> .css and .js files) served from Jetty's DefaultServlet, and we see that
> >> .html files served through Wicket (such as Home.html) are being
> compressed
> >> by Jetty.  However, all JS/CSS resources served via PackageResources are
> >> not being sent gzipped and we're wondering why this might be the case.
> >> We've confirmed the various caveats in the GzipFilter documentation for
> >> Jetty 9.2.x are being fulfilled but dont see why package resources files
> >> are not being gzipped?
> >>
> >> Regards
> >>
> >> Nick
> >>
> >>
> >>
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> > For additional commands, e-mail: users-h...@wicket.apache.org
> >
> >
>

Reply via email to