ASP.Net Invalid Page Caching
问题 Since the database-driven content of my site's home page changes infrequently, I use ASP.Net output caching to keep the content around for 1 hour: <%@ OutputCache Duration="3600" VaryByParam="none" %> I have a simple HTML comment at the beginning and end of the .ASCX control that I can use to verify that the output is being cached properly (by using 'view source' from within a browser): <!-- Cached Area (Created at: 10:08:08 PM) Begin Cache --> ... <!-- End Cached Area --> The caching itself