
Untitled
By: a guest on
Apr 25th, 2012 | syntax:
XML | size: 0.67 KB | hits: 14 | expires: Never
<!--
----------------------------------------------------------------------
Built-in filename-based cache busting
----------------------------------------------------------------------
If you're not using the build script to manage your filename version revving,
you might want to consider enabling this, which will route requests for
/css/style.v20110203.css to /css/style.css
To understand why this is important and a better idea than all.css?v1231,
read: github.com/h5bp/html5-boilerplate/wiki/Version-Control-with-Cachebusting
-->
<rule name="Cachebusting">
<match url="^(.+)\.\d+(\.(js|css|png|jpg|gif)$)" />
<action type="Rewrite" url="{R:1}{R:2}" />
</rule>