How can I cache a few specific JavaScript & CSS files. I found advice from this site to put this in my .htaccess file
AddOutputFilter DEFLAT
css & js your css and js.Expires and cache control headers to On application/x-javascript to a month A2592000 => 24 * 3600 * 30 its in ms.I would recommend to instead of handling specific js via .htaccess you should add a revisions number to your js files, ala:
Then when you update your files just update the rev number. And your clients will automatically be served the new files.
Resources: