Compress html


#1

What is the easiest way to compress my html website? I see there websites that will do it for you. Do I needs some type of .htaccess statement?


#2

There are a few sites that you would be able to use to compress the html code of your site.


https://htmlcompressor.com/compressor/

You would also be able to add an htaccess rule to have the web server compress the page

More information on setting up an htaccess file here https://help.dreamhost.com/hc/en-us/articles/216456227–htaccess-overview