Set Header Control Max Age

To set header control max age for Apache server, you may use the following code below:

## BEGIN Set Header Control (30 Days) ##
<FilesMatch ".(ico|pdf|flv|jpg|jpeg|png|gif|html|htm|js|css|swf)$">
    Header set Cache-Control "max-age=2592000, public"
</FilesMatch>
## BEGIN Set Header Control (30 Days) ##

Leave a Reply

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.