Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

We are using IIS/ARR to act as a reverse proxy which is deployed on Windows Azure, as part of the role startup a CMD file runs which handles all of the configuration.

eg: %appcmd% set config -section:webFarms /-"[name='mywebfarm']" /commit:apphost

I am having a lot of trouble finding a way to create Cache Control Rules, as shown in this article via APPCMD

I've searched through all the config paths I can think of but cannot find any reference to cache control rules (even the ones I create manually).

share|improve this question
up vote 0 down vote accepted

The answer was provided via a crosspost this on the Microsof IIS forums.

You can generate the appcmd command by using Configuration Editor

  1. Open IIS Manager
  2. Click Configuration Editor icon on server level
  3. Expend the section treeview->Select "system.webServer/rewrite/globalRules"
  4. Add a rule
  5. Close the dialog windows
  6. Click Generate Script in right Actions pane)
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.