htaccess set expiry of js

<IfModule mod_expires.c>
ExpiresActive On
ExpiresByType image/jpg "access 7 days"
ExpiresByType image/jpeg "access 7 days"
ExpiresByType image/gif "access 7 days"
ExpiresByType image/png "access 7 days"
ExpiresByType text/css "access 7 days"
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 2 days"
</IfModule>


htaccess set expiry of js Dev2Tricks 5 of 5
<IfModule mod_expires.c> ExpiresActive On ExpiresByType image/jpg "access 7 days" ExpiresByType image/jpeg "...

Share this

Related Posts

Previous
Next Post »

1 comments:

comments