Documentation for Confluence 2.5.4 - 2.5.8.
Documentation for [Confluence Cloud] and the latest Confluence Server is available too.

Confluence supports HTTP gzip transfer encoding. What this means is that if a user's web browser supports it, Confluence will compress the data it sends to the user. This will speed up Confluence over slow or congested Internet links, and reduce the amount of bandwidth consumed by a Confluence server.

You should turn on Confluence's GZip encoding if:

  • Users are accessing Confluence over the Internet, or a WAN connection with limited bandwidth
  • You wish to reduce the amount of data transfer between the Confluence server and client

If you are accessing Confluence over a Local Area Network or over a particularly fast WAN, you may wish to leave GZip encoding disabled. If the network is fast enough that transferring data from Confluence to the user isn't a limiting factor, the additional CPU load caused by having to compress each HTTP response may in fact slow Confluence down.

Gzipping the HTTP Response is available in Confluence 1.4 and later.

Instructions (Confluence 2.1.4 and later)

  1. Go to Administration -> General Configuration
  2. Enable 'Compress HTTP Responses'
  3. (There is no step 3)

Instructions (Confluence 2.1.3 and earlier)

  1. Find your Confluence Home directory and look in the config subdirectory. Your Confluence Home directory is the one you specified in confluence-init.properties when you originally installed Confluence.
  2. Find the Confluence configuration directory, at <Confluence Home>/config. Note that this directory will only exist if you have edited the Confluence configuration. To ensure that it has been created, go to the Administration page, click the General Configuration link, then click the Edit and Update buttons (you don't actually need to change anything).
  3. Edit the file <Confluence Home>/config/confluence-global.bandana.xml with a text editor and then set the element called gzippingResponse to 'true'. There will already be a value for this in the file, but it will be false. Make sure that you change the exsisting value rather than adding a new one.

<gzippingResponse>true</gzippingResponse>

<confluence-config-map>
  <context/>
  <values>
    <entry>
      <string>atlassian.confluence.settings</string>
      <settings>
        <allowCamelCase>false</allowCamelCase>
        <allowTrackbacks>false</allowTrackbacks>
        <allowThreadedComments>false</allowThreadedComments>
        <viewSpaceGoesToSpaceSummary>false</viewSpaceGoesToSpaceSummary>
        <externalUserManagement>false</externalUserManagement>
        <denyPublicSignup>false</denyPublicSignup>
        <emailAdminMessageOff>false</emailAdminMessageOff>
        <baseUrlAdminMessageOff>false</baseUrlAdminMessageOff>
        <allowRemoteApi>true</allowRemoteApi>
        <allowRemoteApiAnonymous>false</allowRemoteApiAnonymous>
        <gzippingResponse>true</gzippingResponse>