jira.codehaus.org

  • Log In Access more options
    • Online Help
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What?s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
  • Sonar
  • SONAR-211

Compress HTTP response

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Improvement Improvement
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: None
  • Fix Version/s: 1.3
  • Component/s: Tuning
  • Labels:
    None

Description

There are too many javascript and CSS files. The homepage downloads more than a dozen JS/CSS files. Even if the browser caches those resources, it always sends as many HTTP requests to check the cache validity.

There are two solutions to gzip the response :

  • add a servlet filter : http://www.thomas-bayer.com/gzip-compression-filter.htm or http://www.onjava.com/pub/a/onjava/2003/11/19/filters.html
  • activate the apache mod_gzip module : http://www.netuality.ro/http-compression-filter-on-servlets-good-idea-wrong-layer/tools/20050202

Activity

  • All
  • Comments
  • Work Log
  • History
  • Activity
Hide
Permalink
Simon Brandhof added a comment - 15/Apr/08 6:57 AM

Done with the PLJ compressing filter from sourceforge. It compresses all responses greater than 1000 bytes, except static resources (images, js, css) in the standalone mode.

Show
Simon Brandhof added a comment - 15/Apr/08 6:57 AM Done with the PLJ compressing filter from sourceforge. It compresses all responses greater than 1000 bytes, except static resources (images, js, css) in the standalone mode.

People

  • Assignee:
    Simon Brandhof
    Reporter:
    Simon Brandhof
Vote (0)
Watch (0)

Dates

  • Created:
    31/Mar/08 7:56 AM
    Updated:
    27/May/08 7:33 AM
    Resolved:
    15/Apr/08 6:57 AM
  • Atlassian JIRA (v5.0.4#731-sha1:3aa7374)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for Codehaus. Try JIRA - bug tracking software for your team.