codehaven - php snippets - coding help
Generic filters
Exact matches only
  • How to add Gzip compression on Plesk – Apache nginx

    9th March 2020

    Random Coding

    random coding category codehaven

    To speed your website up everything should be using GZIP. This will make the files smaller for use on the internet.
    You will NOT need to touch the file .htaccess, as this code is applied in the PLESK dashboard area.
    Once your in your PLESK area find the domain you wish to influence and click on the link called “Apache and nginx Settings”
    Add Gzip compression on Plesk
    Once inside that, go to the bottom “Additional nginx directives” and add the following code

    plesk
    plesk

    Then just press OK and test using gtmetrix.com

    Was this code snippet helpful?