add expires headers wordpress

By | February 27, 2018

add expires headers wordpress,How to Apply Expires Header to WordPress to Optimize Cache,WordPress Far Future Expiration Plugin,Add Expires header to your htaccess file

add expires headers wordpress

Expire Headers is letting your browser to cache your website content and request them only after the time specified in that rule expires.

If you want to set Expire Headers for all of your image,js and css file you have to open and edit your .htaccess file and the following rule:

<IfModule mod_expires.c>
# Enable expirations
ExpiresActive On 
# Default directive
ExpiresDefault "access plus 1 month"
# My favicon
ExpiresByType image/x-icon "access plus 1 year"
# Images
ExpiresByType image/gif "access plus 1 month"
ExpiresByType image/png "access plus 1 month"
ExpiresByType image/jpg "access plus 1 month"
ExpiresByType image/jpeg "access plus 1 month"
ExpiresByType text/css "access plus 1 month"
# Javascript
ExpiresByType application/javascript "access plus 1 year"

How add expires headers wordpress with Plugin

Far Future Expiry Plugin

What are the best WordPress Themes in 2017

This plugin offers a few lightweight features to speed up your WordPress site without much hassle.
When the feature is enabled, this plugin will modify your .htaccess file by inserting code which will add expires headers for common static file types.

Expiry header specifies a time far enough in the future so that browsers won’t try to re-fetch images, CSS, javascript etc files that haven’t changed (this reduces the number of HTTP requests) and hence the performance improvement on subsequent page views.


Download  Click Here

Leave a Reply

Your email address will not be published. Required fields are marked *