How can I cache a few specific JavaScript & CSS files. I found advice from this site to put this in my .htaccess
file
AddOutputFilter DEFLATE css js
ExpiresActive On
ExpiresByType application/x-javascript A2592000
But it is incomplete. What is .htaccess
and how do I create it, where to store it, in my web root folder?
What is the meaning of the following statements:
AddOutputFilter DEFLATE css js
ExpiresActive On
ExpiresByType application/x-javascript A2592000
I dont want to cache all my Javascript & CSS files rather just a few specific files which will never change.
How can I do this?
See Question&Answers more detail:os