How to enable gzip compression in Apache on Plesk server?




  • Avatar
    Mattia Gregolin

    Thank you. This was very helpful for my Amazon Ec2 instance!

  • Avatar
    Deyvi Arellano

    Disculpa pero cuando realizo lo siguiente me deja de funcionar apache! 

  • Avatar
    Alexandr Tumanov


    Could you please share the information about the error? Apache version? The article was verified and no errors with apache were found.

  • Avatar
    Gianluca (Edited )

    Please correct the row number two on the ssh code section:

    # Compress HTML, CSS, JavaScript, Text, XML and fonts AddOutputFilterByType DEFLATE application/javascript

  • Avatar
    Ivan Postnikov

    Hello @Gianluca,

    Thank you for noticing. The article was updated.

Please sign in to leave a comment.

Have more questions? Submit a request