# Filename-based cache busting # taken from https://github.com/h5bp/html5-boilerplate/ # This rewrites file names of the form `name.123456.js` to `name.js` # so that the browser doesn't use the cached version when you have # updated (but not manually renamed) the file. Options +FollowSymlinks RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.+)\.(\d+)\.(js|css|png|jpg|gif)$ $1.$3 [L]