Uploaded image for project: 'Undertow'
  1. Undertow
  2. UNDERTOW-797

Serve gzip encoded resources

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Done
    • Major
    • 2.0.0.Beta1, 1.4.19.Final
    • None
    • None
    • None

    Description

      Generally you want two things to happen:

      1. serve files using #sendfile
      2. serve gzipped versions resources

      Compressing resources in memory saves bandwidth but is suboptimal since the whole resource needs to be loaded into memory.

      Jetty implements this like this:

      • if the Accept-Encoding includes "gzip"
      • and there is a ".gz" version of the file (eg. you request "style.css" and there is "style.css.gz")

      then the ".gz" version is served.

      Attachments

        Activity

          People

            sdouglas1@redhat.com Stuart Douglas
            rhn-support-hbraun Heiko Braun
            Votes:
            3 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: