Archives: Code Snippets

Enabling Browser Caching via .htaccess

Add these rules to .htaccess for setting Expires and Cache-control headers:

Enabling Gzip Compression Via .htaccess

The easiest way to access .htacces is via FTP but you can also use cPanel or any other admin interface. Adding the following piece of

Want to speed up WordPress site?