Better compression and cache control without mod_pagespeed or plugin in htaccess
Mandatory steps:
1, Check your website's performance here: https://gtmetrix.com/ 2, Backup your css, js files and your htaccess file; 3, Go to https://cssminifier.com/; 4, Minify all your css and js files; 5, Replace your old css and js resources with the new ones; 6, Test it one by one; # Do not forget to clear your browser's cache before testing (Ctrl+Shift+Delete) # 7, Find the attached htaccess file; 8, Copy the code snippet; 9, Paste the code snippet in your htaccess file; 10, Test it again! 11, Now all your static resources should be minified, comressed and cache controlled! 12, Recheck your website's performance using GTmetrix; 13, Enjoy it!