Uploaded image for project: 'jboss.org'
  1. jboss.org
  2. ORG-361

Turn on mod_deflate apache module for compressing content

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Done
    • Icon: Medium Medium
    • 3.3.3
    • 3.3.2
    • jboss.org (Apache)
    • None

      Add to http.conf this:

          1. Page compression
            <IfModule mod_deflate.c>
            AddOutputFilterByType DEFLATE text/plain text/html text/xml text/css text/javascript
            AddOutputFilterByType DEFLATE application/xml application/xhtml+xml application/rss+xml application/javascript application/x-javascript

      BrowserMatch ^Mozilla/4 gzip-only-text/html
      BrowserMatch ^Mozilla/4\.0[678] no-gzip
      BrowserMatch \bMSIE !no-gzip !gzip-only-text/html
      </IfModule>

      Turn off any gzip compression at application layer (Clearspace, magnolia etc.)

            lkrzyzan@redhat.com Libor Krzyžanek
            lkrzyzan@redhat.com Libor Krzyžanek
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: