To fix leverage browser caching for Apache server, you may use the following code below:
<IfModule mod_expires.c>
ExpiresActive On
ExpiresByType image/jpg "access 1 year"
ExpiresByType image/jpeg "access 1 year"
ExpiresByType image/gif "access 1 year"
ExpiresByType image/png "access 1 year"
ExpiresByType text/css "access 1 month"
ExpiresByType application/pdf "access 1 month"
ExpiresByType text/x-javascript "access 1 month"
ExpiresByType application/x-shockwave-flash "access 1 month"
ExpiresByType image/x-icon "access 1 year"
ExpiresDefault "access 1 month"
</IfModule>
Please support the 2fxmedia.net by downloading the most secure browser called Brave Browser please click here to download the browser and install the browser.. Don’t forget to visit the 2fxmedia.net using brave browser and don’t forget to make a tip to 2fxmedia.net Cheers!
Leave a Comment