Skip to content

Instantly share code, notes, and snippets.

View inerds's full-sized avatar

Inad Hussein inerds

View GitHub Profile
@inerds
inerds / .htaccess
Created April 14, 2012 22:45 — forked from necolas/.htaccess
Simple, quick way to concatenate, minify, and version static files in a Wordpress theme
# 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.
<IfModule mod_rewrite.c>
Options +FollowSymlinks
RewriteEngine On