where does the o/p of userControl cached?

A

ABCL

Hi all
Can any one tell me if I want to cache the User control,
Where does it cached?
I am not able to it in "Cache" object

Thanks
 
G

GroupReader

The easiest way to configure caching for user controls (.ascx files)
is with the "OutputCache" directive that goes at the top of the .ascx
page. Look up OutputCache in google.

You can configure: Where it's cached, how long, whether or not it's
shared between multiple .aspx pages, and for whom it gets cached.
There's even a "custom" option for more control.

There are also properties and methods that can be set a runtime, but
the OutputCache directive (setting declaratively at design time) is
the easy way.

Hope that helps.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top