Cache User Control in Web Part
- From: Ryan <ryan.mclean@xxxxxxxxx>
- Date: 19 Apr 2007 19:31:23 -0700
Hello everyone,
What is the best way to cache a 2.0 web part?
I tried putting output cache on the user control in the part, but the
output cache cannot be wrapped by a generic web part . . . any ideas?
I'm new to caching to begin with and I am at a loss. Because of the
control, data caching wouldn't really be a good option. Maybe if I get
the rendered html code from the control, put that in cache, then
render
that in a literal control . . . that seems a little silly (if it would
even work).
Thanks for any advice,
Ryan
.
- Follow-Ups:
- Re: Cache User Control in Web Part
- From: Alvin Bruney [MVP]
- Re: Cache User Control in Web Part
- Prev by Date: Re: How to do data paging in a web service, like asp page
- Next by Date: Need Alternative to Server Side Include in Asp.Net
- Previous by thread: .NET 1.1 Virtual Directory in a .NET 2.0 Website
- Next by thread: Re: Cache User Control in Web Part
- Index(es):
Relevant Pages
|