Reputation: 6296
What may be the disadvantages of enable content expiration in IIS 6 ?
Upvotes: 4
Views: 1898
Reputation: 6043
The main disadvantage will be that IIS will stop caching components by modified date
. and whenever you'll change the content of any component, you'll have to hit ctrl + F5
in order to forcefully get the new content.
one solution to this problem can be appending a querystring to your static components, and that querystring should by dynamic and confiugrable so that whenever you change your contents, you'll only need to change the querystring and your problem will be solved.
following is the example of a dynamic querystring
http://google.com/style.css?version=2.1
Upvotes: 1