Skip to content

Instantly share code, notes, and snippets.

@inxilpro
Created August 26, 2010 20:13
Show Gist options
  • Save inxilpro/552156 to your computer and use it in GitHub Desktop.
Save inxilpro/552156 to your computer and use it in GitHub Desktop.
RewriteCond %{DOCUMENT_ROOT}/css/main.min.css -f
RewriteRule ^css/main\.css$ css/main.min.css
@inxilpro
Copy link
Author

You might want to change the rewrite rule in your post to the above. That way it'll only server main.min.css if it exists (and will fallback to main.css if it doesn't).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment