• Resolved josecn

    (@josecn)


    Hello

    I am using buddyboss like my principal theme, I recently have performance issues, this code help me with this issue “

    function enable_zlib_output_compression() {
    if (function_exists(‘ini_set’)) {
    ini_set(‘zlib.output_compression’, ‘On’);
    ini_set(‘zlib.output_compression_level’, ‘1’);
    }
    }
    add_action(‘init’, ‘enable_zlib_output_compression’);” But after try, I see that this code doesn’t work with translate press, when I add it in a snippet, the translate press function doesn’t work.

    Could you help me with this issue?

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hey there,

    Thanks for contacting us!

    From what we can tell, You cannot specify additional output handlers if zlib.output_compression is activated . Meaning TranslatePress will not work as it’s built using output buffers.

    However, you should probably use HTTP2 & Gzip on a web server level, and this will compress your page, not PHP. It’s faster and better this way.

    Regards,

    Thread Starter josecn

    (@josecn)

    OKay, I will try.

    Thanks for your help.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Translatepress not function’ is closed to new replies.