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

XMLWordPrintable

    • Type: Suggestion
    • Resolution: Fixed
    • 3.11
    • Component/s: None
    • Environment:
      tomcat5.5, apache2.0, mysql4, JDK1.5

      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?

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

              Created:
              Updated:
              Resolved: