How to Enable a Leverage browser caching properly on Apache Server in Digitalocean

In this tutorial, we are going to see about Proper method Enable a Leverage browser caching properly on Apache.

Here is the Guide about leverage browser caching From varvy.com – Leverage browser caching Guide

Here are the Steps to Enable a Leverage browser caching properly

  • Login to your DO Droplet
  • Now use this below command lines to enable mod_expires and mod_headers
sudo a2enmod headers 
sudo a2enmod expires
  • After Installing this two Mods restart your Apache server
service apache2 restart
  • That’s all now add this below rules on HTACCESS File Make sure that you are enabling the HTACCESS Support in Apache

How to Guide