I have an XML file that keeps getting updated, however no matter what I do I can’t get the updated copy. I always see a cached version of it for a couple of hours. Is there any way to turn off caching for xml? I am using azure website.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
In this answer I’m assuming you’re talking about output caching. In order to disable output caching for *.xml, simply add a caching profile to your web.config: