Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-9461

Increase the scope of the gzip compression to include JS and CSS files

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Fixed
    • 3.11
    • None
    • tomcat5.5, apache2.0, mysql4, JDK1.5
    • We collect Jira feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.

    Description

      Related to my JSP-4241 issue where I found Apache's mod_deflate to be a little flaky, I tried a different route and added this to JIRA's web.xml:

      <filter-mapping>
      <filter-name>gzip</filter-name>
      <url-pattern>*.js</url-pattern>
      </filter-mapping>

      And JIRA is now compressing all the JS files that it sends which offers quite a bandwidth savings for my remote users considering the dashboard has about 123kb of javascript files.

      I tried adding *.css but it isn't compressing those.

      Can we have the *.js compression configured by default (assuming it passes your QA) (when gzip compression is turned on) and can we have *.css supported by the Filter as well?

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              f53d2b2dbf78 chris finne
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: