Reputation: 4654
The problem is like this: We're trying to implement a versioning scheme for our CSS and wherever we have accessed CSS through href (like \themes\ssss\abc.css) we append this link with a build number programatically (such as \themes\ssss\abc.css?1011) so that with new build the client gets the latest css files.
The problem is coming in themes. For e.g. under App_Themes we created a theme folder with the name MyTheme; now wherever this theme is used we need the CSS for this theme to be replaced by latest build files. How to do that?
Upvotes: 6
Views: 623
Reputation: 600
why don't you create a new theme folder on each build/deploy?
Something similar to \themes\ssss-1011\abc.css.
Upvotes: 1
Reputation: 1529
Add some extra hash to your css url ("#somethingnew"). You can also you tools like SquishIt. It also can minify you css/js files.
Upvotes: 0