Easy question hopefully. . . Is there any benefit to be gained by turning on output caching on Web User Controls if the pages they are displayed on already have output caching turned on?

My guess would be no, it is not worth it, but maybe I am missing something.

Thanks!

有帮助吗?

解决方案

turning on output caching on web user control will be useful only when the duration set for it is less than duration set for output cache of page. for more information you can refer to following link: http://msdn.microsoft.com/en-us/library/h30h475z(v=vs.71).aspx

hope this helps.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top