title: IIS output caching causing wrong pages to display
body: <p>I turned on output caching in IIS7.5 for .aspx pages but sometimes when I browse to PageB.aspx I see the output for PageA.aspx. Looking on google this seems like it's a common issue but no one has said if they have fixed it or how.</p>
  
  <p>How can I enable output caching but avoid this issue? Is there a variation I can add in the settings (querystring or headers) or is there a hotfix for this issue?</p>
  
  <p><strong>update:</strong> If I add "Accept" to the Vary By Headers setting, it works better, but not 100% because pages with the same Accept header will have the issue.</p>
  
  <p><strong>update:</strong> if I add "Accept, Referer" to the headers, it looks like everything is working as expected. </p>