buunguyen / combres

ASP.NET and MVC performance optimization library ⛺
Other
123 stars 37 forks source link

Ability to reset urls #4

Closed blakebyrnes closed 11 years ago

blakebyrnes commented 11 years ago

Is there any way right now to reset the url hashes for resources? We're deployed to Azure, which uses a pass through cache with no ability to reset the cache. When we flip from staging to production, we're having issues where Combres will respond on the old server to requests and then they're cached in Azure CDN with nothing we can do to clear it. The only way we can get it to work is to reset the server so it generates new hashes.

buunguyen commented 11 years ago

A hash is ultimately computed based on the combined content; this is necessary for change detection to work. So you either have to modify a file, or use manual versioning where you can control the version appended to the resources.