You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by "Artur W." <a_...@gazeta.pl> on 2007/12/01 12:08:04 UTC
Re: Gzip filter and resource problem
Hi!
Matej Knopp-2 wrote:
>
> Yes. Your filter should check if the resource is already compressed.
> Wicket compress javascripts and css files already. Your filter
> probably compresses it again.
>
>
You are right! But how can I check it?
I thought that better idea than compress it be myself is to force wicket to
compress everything not only resources? Is is possible?
Thanks,
Artur
--
View this message in context: http://www.nabble.com/Gzip-filter-and-resource-problem-tf4914410.html#a14104145
Sent from the Wicket - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: Gzip filter and resource problem
Posted by Matej Knopp <ma...@gmail.com>.
use httpservletresponsewrapper and intercept setHeader.
-Matej
On Dec 1, 2007 10:47 PM, Artur W. <a_...@gazeta.pl> wrote:
>
>
>
> Matej Knopp-2 wrote:
> >
> > Check the response headers.
> >
>
> Sorry for the stupid question but how can i do that?
>
> There is no getHeader method in the HttpServletResponse.
>
>
> Thanks,
> Artur
>
> --
> View this message in context: http://www.nabble.com/Gzip-filter-and-resource-problem-tf4914410.html#a14109779
>
> Sent from the Wicket - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: Gzip filter and resource problem
Posted by "Artur W." <a_...@gazeta.pl>.
Matej Knopp-2 wrote:
>
> Check the response headers.
>
Sorry for the stupid question but how can i do that?
There is no getHeader method in the HttpServletResponse.
Thanks,
Artur
--
View this message in context: http://www.nabble.com/Gzip-filter-and-resource-problem-tf4914410.html#a14109779
Sent from the Wicket - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: Gzip filter and resource problem
Posted by Matej Knopp <ma...@gmail.com>.
Check the response headers.
-Matej
On Dec 1, 2007 12:08 PM, Artur W. <a_...@gazeta.pl> wrote:
>
> Hi!
>
>
> Matej Knopp-2 wrote:
> >
> > Yes. Your filter should check if the resource is already compressed.
> > Wicket compress javascripts and css files already. Your filter
> > probably compresses it again.
> >
> >
> You are right! But how can I check it?
>
> I thought that better idea than compress it be myself is to force wicket to
> compress everything not only resources? Is is possible?
>
>
> Thanks,
> Artur
>
> --
> View this message in context: http://www.nabble.com/Gzip-filter-and-resource-problem-tf4914410.html#a14104145
>
> Sent from the Wicket - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org