Take the 2-minute tour ×
Programmers Stack Exchange is a question and answer site for professional programmers interested in conceptual questions about software development. It's 100% free, no registration required.

I'm using xml to store cross-program information. This information is used in some webpages and in C# programs. When the information is altered, these alterations are not displayed right away in the webpages, they keep on displaying the information saved in cache, it takes a few refreshes for the webpage to show these alterations. Is there any way I can force the webpages to show the actual file and not the cached one?

share|improve this question

closed as off topic by MainMa, ChrisF Oct 10 '11 at 10:37

Questions on Programmers Stack Exchange are expected to relate to software development within the scope defined by the community. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about reopening questions here.If this question can be reworded to fit the rules in the help center, please edit the question.

    
Normally specific coding questions would be migrated to Stack Overflow, however, this is too vague a question for there. –  ChrisF Oct 10 '11 at 10:38
    
I didn't post it there because of that... :s –  Jamiro14 Oct 10 '11 at 10:46

1 Answer 1

up vote 0 down vote accepted

Your pages are cached. Put a meta line in the header saying that they expire very soon, and they should get reloaded.

share|improve this answer
    
More specifically: <meta http-equiv="expires" content="0"> –  Spoike Oct 10 '11 at 10:43
    
Certain versions of IE ignore that tag –  Tom Squires Oct 10 '11 at 10:51

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