Skip to:
Content
Pages
Categories
Search
Top
Bottom

Zlib compression

  • @anindyaray

    Member

    I have seem few tutorial about speeding up wordpress site, there its mentioned about enabling zlib compression through wordpress themes …

    my question is :
    if enabled , will zlib compression work for buddypress site ?

    what are the pros and cons for enabling zlib compression

Viewing 1 replies (of 1 total)
  • @lph2005

    Participant

    Yes, enabling zlib compression by placing code in the header.php of a child theme will improve performance.

    `<?php
    ini_set(’zlib.output_compression’, ‘On’);
    ini_set(’zlib.output_compression_level’, ‘1?);
    ?>`

    Source: WPMU.org

    Additionally, you could enable W3-Total Cache as a plugin and gain other benefits, ie. CDN, Minify, database caching, object caching, browser caching, and user agent groups.

    https://wordpress.org/extend/plugins/w3-total-cache/

    You cannot do both the plugin and the enabling of zlib compression in the header :)

Viewing 1 replies (of 1 total)
  • The topic ‘Zlib compression’ is closed to new replies.
Skip to toolbar