I created 5 .aspx pages with Response.Write(DateTime.Now.ToString()); in the Page_Load event handler, and with <%@ OutputCache Duration="300" Location="Any" VaryByParam="none" %> added after the @ page directive with different versions of location. When i refreshed the page, client and downstream locationed ones refreshed the time as well, this proves that output caching with these two location doesn't cache the page output. The best and robust solution will be setting the location attribute to "any".
serkan sendur 821 Postaholic Banned Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.