You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Artur Wronski (JIRA)" <ji...@apache.org> on 2007/12/21 16:56:43 UTC

[jira] Created: (WICKET-1240) gzip compression for webpages

gzip compression for webpages
-----------------------------

                 Key: WICKET-1240
                 URL: https://issues.apache.org/jira/browse/WICKET-1240
             Project: Wicket
          Issue Type: Improvement
          Components: wicket
    Affects Versions: 1.3.0-rc2
            Reporter: Artur Wronski


It would be great if it would be possible to turn on gzip compression for web pages not only for resources like it is now.
Sometimes pages with lots of buttons and lots of ajax can be very heavy.

It is not possible to add gzip filter by myself because wicket sometimes close the connection.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (WICKET-1240) gzip compression for webpages

Posted by "Bruno Borges (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WICKET-1240?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12588097#action_12588097 ] 

Bruno Borges commented on WICKET-1240:
--------------------------------------

IMHO, this is something to be done by the webserver only. 

Apache has this feature, Tomcat as well. 

> gzip compression for webpages
> -----------------------------
>
>                 Key: WICKET-1240
>                 URL: https://issues.apache.org/jira/browse/WICKET-1240
>             Project: Wicket
>          Issue Type: Improvement
>          Components: wicket
>    Affects Versions: 1.3.0-rc2
>            Reporter: Artur Wronski
>             Fix For: 1.4-M1
>
>
> It would be great if it would be possible to turn on gzip compression for web pages not only for resources like it is now.
> Sometimes pages with lots of buttons and lots of ajax can be very heavy.
> It is not possible to add gzip filter by myself because wicket sometimes close the connection.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (WICKET-1240) gzip compression for webpages

Posted by "Johan Compagner (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WICKET-1240?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12590863#action_12590863 ] 

Johan Compagner commented on WICKET-1240:
-----------------------------------------

create your own BufferedResponse class:

class GZipBufferedResponse extends BufferedResponse
{
  public void close()
 {
 String result = toString();
 if (result.length != 0)
 {
   getOutputStream().write(compress(result));
 }
}

the only problem i could see is that in a subclass of BufferedResponse you cant really test for if it is a redirect or not.
That is a bit wrong api, needs to be fixed.

> gzip compression for webpages
> -----------------------------
>
>                 Key: WICKET-1240
>                 URL: https://issues.apache.org/jira/browse/WICKET-1240
>             Project: Wicket
>          Issue Type: Improvement
>          Components: wicket
>    Affects Versions: 1.3.0-rc2
>            Reporter: Artur Wronski
>             Fix For: 1.4-M2
>
>
> It would be great if it would be possible to turn on gzip compression for web pages not only for resources like it is now.
> Sometimes pages with lots of buttons and lots of ajax can be very heavy.
> It is not possible to add gzip filter by myself because wicket sometimes close the connection.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (WICKET-1240) gzip compression for webpages

Posted by "Jeremy Thomerson (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WICKET-1240?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jeremy Thomerson updated WICKET-1240:
-------------------------------------

    Fix Version/s:     (was: 1.5-M3)
                   1.5-M4

> gzip compression for webpages
> -----------------------------
>
>                 Key: WICKET-1240
>                 URL: https://issues.apache.org/jira/browse/WICKET-1240
>             Project: Wicket
>          Issue Type: Improvement
>          Components: wicket
>    Affects Versions: 1.3.0-rc2
>            Reporter: Artur Wronski
>             Fix For: 1.5-M4
>
>
> It would be great if it would be possible to turn on gzip compression for web pages not only for resources like it is now.
> Sometimes pages with lots of buttons and lots of ajax can be very heavy.
> It is not possible to add gzip filter by myself because wicket sometimes close the connection.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (WICKET-1240) gzip compression for webpages

Posted by "Martijn Dashorst (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WICKET-1240?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Martijn Dashorst updated WICKET-1240:
-------------------------------------

    Fix Version/s:     (was: 1.4-M3)
                   1.4-M4

Moved to next milestone release.

> gzip compression for webpages
> -----------------------------
>
>                 Key: WICKET-1240
>                 URL: https://issues.apache.org/jira/browse/WICKET-1240
>             Project: Wicket
>          Issue Type: Improvement
>          Components: wicket
>    Affects Versions: 1.3.0-rc2
>            Reporter: Artur Wronski
>             Fix For: 1.4-M4
>
>
> It would be great if it would be possible to turn on gzip compression for web pages not only for resources like it is now.
> Sometimes pages with lots of buttons and lots of ajax can be very heavy.
> It is not possible to add gzip filter by myself because wicket sometimes close the connection.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (WICKET-1240) gzip compression for webpages

Posted by "Frank Bille Jensen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WICKET-1240?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Frank Bille Jensen updated WICKET-1240:
---------------------------------------

    Fix Version/s:     (was: 1.4-M2)
                   1.4-M3

> gzip compression for webpages
> -----------------------------
>
>                 Key: WICKET-1240
>                 URL: https://issues.apache.org/jira/browse/WICKET-1240
>             Project: Wicket
>          Issue Type: Improvement
>          Components: wicket
>    Affects Versions: 1.3.0-rc2
>            Reporter: Artur Wronski
>             Fix For: 1.4-M3
>
>
> It would be great if it would be possible to turn on gzip compression for web pages not only for resources like it is now.
> Sometimes pages with lots of buttons and lots of ajax can be very heavy.
> It is not possible to add gzip filter by myself because wicket sometimes close the connection.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (WICKET-1240) gzip compression for webpages

Posted by "Igor Vaynberg (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WICKET-1240?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Igor Vaynberg updated WICKET-1240:
----------------------------------

    Fix Version/s: 1.5-M2
                       (was: 1.5-M1)

> gzip compression for webpages
> -----------------------------
>
>                 Key: WICKET-1240
>                 URL: https://issues.apache.org/jira/browse/WICKET-1240
>             Project: Wicket
>          Issue Type: Improvement
>          Components: wicket
>    Affects Versions: 1.3.0-rc2
>            Reporter: Artur Wronski
>             Fix For: 1.5-M2
>
>
> It would be great if it would be possible to turn on gzip compression for web pages not only for resources like it is now.
> Sometimes pages with lots of buttons and lots of ajax can be very heavy.
> It is not possible to add gzip filter by myself because wicket sometimes close the connection.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (WICKET-1240) gzip compression for webpages

Posted by "Igor Vaynberg (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WICKET-1240?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Igor Vaynberg updated WICKET-1240:
----------------------------------

    Fix Version/s: 1.5-M3
                       (was: 1.5-M2)

> gzip compression for webpages
> -----------------------------
>
>                 Key: WICKET-1240
>                 URL: https://issues.apache.org/jira/browse/WICKET-1240
>             Project: Wicket
>          Issue Type: Improvement
>          Components: wicket
>    Affects Versions: 1.3.0-rc2
>            Reporter: Artur Wronski
>             Fix For: 1.5-M3
>
>
> It would be great if it would be possible to turn on gzip compression for web pages not only for resources like it is now.
> Sometimes pages with lots of buttons and lots of ajax can be very heavy.
> It is not possible to add gzip filter by myself because wicket sometimes close the connection.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (WICKET-1240) gzip compression for webpages

Posted by "Timo Rantalaiho (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WICKET-1240?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Timo Rantalaiho updated WICKET-1240:
------------------------------------

    Fix Version/s:     (was: 1.4-M4)
                   1.5-M1

This is a new feature, so it should only be provided in Wicket 1.5.

I think this sounds like a good idea, because the functionality should be straight forward and provides a way to work around the web server limitation explained in the comments.

> gzip compression for webpages
> -----------------------------
>
>                 Key: WICKET-1240
>                 URL: https://issues.apache.org/jira/browse/WICKET-1240
>             Project: Wicket
>          Issue Type: Improvement
>          Components: wicket
>    Affects Versions: 1.3.0-rc2
>            Reporter: Artur Wronski
>             Fix For: 1.5-M1
>
>
> It would be great if it would be possible to turn on gzip compression for web pages not only for resources like it is now.
> Sometimes pages with lots of buttons and lots of ajax can be very heavy.
> It is not possible to add gzip filter by myself because wicket sometimes close the connection.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (WICKET-1240) gzip compression for webpages

Posted by "Frank Bille Jensen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WICKET-1240?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Frank Bille Jensen updated WICKET-1240:
---------------------------------------

    Fix Version/s:     (was: 1.4-M1)
                   1.4-M2

> gzip compression for webpages
> -----------------------------
>
>                 Key: WICKET-1240
>                 URL: https://issues.apache.org/jira/browse/WICKET-1240
>             Project: Wicket
>          Issue Type: Improvement
>          Components: wicket
>    Affects Versions: 1.3.0-rc2
>            Reporter: Artur Wronski
>             Fix For: 1.4-M2
>
>
> It would be great if it would be possible to turn on gzip compression for web pages not only for resources like it is now.
> Sometimes pages with lots of buttons and lots of ajax can be very heavy.
> It is not possible to add gzip filter by myself because wicket sometimes close the connection.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (WICKET-1240) gzip compression for webpages

Posted by "Johan Compagner (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WICKET-1240?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Johan Compagner updated WICKET-1240:
------------------------------------

    Fix Version/s: 1.4-M1

still i believe that his is not really a webframe works issue
This should i guess be better handled by the web server (apache) or app server (tomcat) itself.

> gzip compression for webpages
> -----------------------------
>
>                 Key: WICKET-1240
>                 URL: https://issues.apache.org/jira/browse/WICKET-1240
>             Project: Wicket
>          Issue Type: Improvement
>          Components: wicket
>    Affects Versions: 1.3.0-rc2
>            Reporter: Artur Wronski
>             Fix For: 1.4-M1
>
>
> It would be great if it would be possible to turn on gzip compression for web pages not only for resources like it is now.
> Sometimes pages with lots of buttons and lots of ajax can be very heavy.
> It is not possible to add gzip filter by myself because wicket sometimes close the connection.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (WICKET-1240) gzip compression for webpages

Posted by "Artur Wronski (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WICKET-1240?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12590860#action_12590860 ] 

Artur Wronski commented on WICKET-1240:
---------------------------------------

I know that I can turn on compression in Tomcat but only for the whole Connector. I prefer to do this in wicket app and only for wicket app :)

> gzip compression for webpages
> -----------------------------
>
>                 Key: WICKET-1240
>                 URL: https://issues.apache.org/jira/browse/WICKET-1240
>             Project: Wicket
>          Issue Type: Improvement
>          Components: wicket
>    Affects Versions: 1.3.0-rc2
>            Reporter: Artur Wronski
>             Fix For: 1.4-M2
>
>
> It would be great if it would be possible to turn on gzip compression for web pages not only for resources like it is now.
> Sometimes pages with lots of buttons and lots of ajax can be very heavy.
> It is not possible to add gzip filter by myself because wicket sometimes close the connection.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.