ASP.NET Page Caching in a Web Farm
Posted
by Achilles
on Stack Overflow
See other posts from Stack Overflow
or by Achilles
Published on 2010-03-11T17:27:06Z
Indexed on
2010/03/11
17:29 UTC
Read the original article
Hit count: 488
We have a small web farm(2 servers) balanced by the built in network load balancer in Windows 2003. We have a few pages that use page caching. My question is: Is it possible that that a given user could cause a page to be cached and another user see that content? Here is the page directive for the page in question:
<%@ OutputCache Duration="1" NoStore="true" VaryByParam="none" %>
The reason the duration is set to "1" is to ensure that the page isn't cached any longer than 1 second because of transactions that actions on the page can trigger.
© Stack Overflow or respective owner