Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-9811

Serve gzip encoded resources

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • None
    • Web (Undertow)
    • Documentation (Ref Guide, User Guide, etc.), Release Notes

      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.

              flaviarnn Flavia Rainone
              sdouglas1@redhat.com Stuart Douglas (Inactive)
              Jan Stourac Jan Stourac
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated: