简体   繁体   English

启用页面缓存后,如何停止特定用户控件的缓存?

[英]How can I stop a specific user control from caching when page caching is enabled?

I have a master page with a user control on it. 我有一个带有用户控件的母版页。

I have a page that using the above master page and I am caching this page. 我有一个使用上述母版页的页面,并且正在缓存该页面。 But I don't want to cache the user control. 但是我不想缓存用户控件。

What code do i need to apply for the user control in order to load every time? 为了每次加载,我需要为用户控件申请什么代码?

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM