Page Caching

K

Keith Chadwick

How do I prevent caching on a page. I tried <%@ OutputCache Duration="1"
VaryByParam="None" %> but that does not appear to be working.

The content of the page is generated by the loading of 2 xsl files which are
then transformed and applied top to the text properties of 2 asp:label
controls. When I change the xsl file and refresh the page it does not seem
to getting the latest version of the xsl file.

Cheers
Keith
 
D

Dino Chiesa [Microsoft]

there are multiple levels of caching in play here.
don't forget that your browser may be caching the page, too!

close and re-open IE, and you should get the update.

Also it is possible to completely disable ASPX page caching. You can do it
declaratively or programmatically.

-Dino
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,995
Messages
2,570,226
Members
46,816
Latest member
nipsseyhussle

Latest Threads

Top