using mod-rewrite to redirect requests for jquery.js to GoogleAPI cache
- by Aditya Advani
Hi All,
Our Linux server with Apache 2.x, Plesk 8.x hosts a number of e-commerce websites. To take advantage of browser caching we would like to use Google's provided copy of jquery.js.
Hence in the vhost.conf file of each we can use the following RewriteRule
RewriteCond %{REQUEST_FILENAME} jquery.min.js [nc]
RewriteRule .…