hi guys, i am using ubuntu 20.04 and ispconfig 3 according to 1. server: https://www.howtoforge.com/tutorial...l-pureftpd-bind-postfix-doveot-and-ispconfig/ 2. server: https://www.howtoforge.com/ispconfig-autoinstall-debian-ubuntu/ What is a good way to setup gzip compression in apache? is there a way to do this in ispconfig? I want the gzip compression for better speed of wordpress websites thanks a lot for your kind help
Both? Or one of the two? Which? Are you sure it is not enabled already? Code: apache2ctl -t -D DUMP_MODULES | grep -i deflate
Hi thanks for your answer i ask for both servers here i get the result of your code : Code: root@server6:~# apache2ctl -t -D DUMP_MODULES | grep -i deflate AH00548: NameVirtualHost has no effect and will be removed in the next release /etc/apache2/sites-enabled/000-ispconfig.vhost:7 deflate_module (shared) root@server6:~#
https://checkgzipcompression.net/ if i put the name of my website wp-fit.com it says that gzip compression is not enabled another website https://www.giftofspeed.com/gzip-test/ says gzip is enabled so i was confused a bit about that. maybe i need to enable gzip compression with wp-rocket or wp-super cache?
yes sure this can be a reason i have another question if i may ask. Do i need to enable gzip compression with wp-rocket or wp-super cache for example to get the speed i need, or is it enough regarding gzip compression to enable this on the server?
I know nothing about wp-rocket and wp-super. You do not specify what kind of speed you need. Does it take more than 2 seconds to load the website? Have you removed extra plugins from wordpress? If you want to make Wordpress faster, enable the cache features WP and PHP have, and put enough RAM to the host. Other than that more work gives diminishing returns, that is I my view on the matter. WP is slow. Measure your website performance, some tools may give you tips on what to do to maybe make it faster. Find some tools for this using Internet Search Engines with Code: website performance measurement wordpress If you really must make the website faster, give up on worpress and create a static website. That makes it really fast.
wordpress doesn't have to be slow, you can easily get wordpress pages loading in less than 1 sec. the most important thing is only use well written, well maintained plugins. and use as few plugins as possible. and make sure plugin code is only called if it's actually needed on that page. most peoples problems with wordpress stem from using far too many plugins. and badly coded plugins. as for compression, if it's already enabled for the server, then you can find out if it's already being applied. open the dev-tools on your browser, switch to the network tab and reload the site. select the entry that matches your website name, it should be the first one, then select the header tab in the results pane. there should be an entry for content-encoding in the response headers section, it'll show gzip if its enabled, or br if brotli is enabled, in which case, enabling it in a caching plugin will have no additional effect.