Uploaded image for project: 'Wicket'
  1. Wicket
  2. WICKET-2645

Resources aren't gziped by default

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.4.5
    • 1.4.6, 1.5-M1
    • wicket-datetime
    • None

    Description

      Wicket gzips its resources by default. The only exception is wicket-datetime module.
      I think it is worth to use the same policy within wicket subprojects, especially taking into account that usage of DatePicker adds more than 100 Kb of uncompressed java scripts.

      Here are an headers of request and response:

      Request headers:

      Host 127.0.0.1:8080
      User-Agent Mozilla/5.0 (X11; U; Linux x86_64; ru; rv:1.9.1.6) Gecko/20091215 Ubuntu/9.10 (karmic) Firefox/3.5.6
      Accept /
      Accept-Language ru,en-us;q=0.7,en;q=0.3
      Accept-Encoding gzip,deflate
      Accept-Charset windows-1251,utf-8;q=0.7,*;q=0.7
      Keep-Alive 300
      Connection keep-alive
      Referer http://127.0.0.1:8080/?t=1

      Response headers:
      Server Apache-Coyote/1.1
      Last-Modified Mon, 21 Dec 2009 07:26:23 GMT
      Expires Mon, 28 Dec 2009 13:42:11 GMT
      Cache-Control max-age=3600
      Content-Type text/javascript;charset=UTF-8
      Content-Length 68179
      Date Mon, 28 Dec 2009 12:42:10 GMT

      Attachments

        Activity

          People

            jdonnerstag Juegen Donnerstag
            mihasik Michael Mikhulya
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: