RW Minify HTML files

I know RW has an option to minify both CSS and JS but why not the HTML files?
And does anyone recommend an app for that?

You can get a better result by enabling gzip compression. If you are running Apache webserver, you can add the following to your htaccess file

<ifmodule mod_deflate.c>
AddOutputFilterByType DEFLATE text/text text/html text/plain text/xml text/css application/x-javascript application/javascript text/javascript
#End Gzip
1 Like

I think my web host uses LiteSpeed server.

Have you checked to see if your site is using gzip?

I found in cPanel the following and turned it on, that is the same thing isn’t it?

From the screenshot it looks like you are using Apache.

I’m not great with cPanel, but you can turn it on and check either with developer tools(network) or with a tool like this

1 Like

Yes seems to be working, thank you.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.