MVC4 StyleBundle: Can you add a cache-busting query string in Debug mode?
You just need a unique string. It doesn’t have to be Hash. We use the LastModified date of the file and get the Ticks from there. Opening and reading the file is expensive as @Todd noted. Ticks is enough to output a unique number that changes when the file is changed. internal static class BundleExtensions … Read more