The first is caching any data type. One is caching HTML output for a page and is the code equivalent of an outputcache parameter on a page or user control.
http://learnasp.com/freebook/learn/datacaching.aspx shows a page caching actual data items. http://learnasp.com/freebook/learn/searcherUCCached.aspx shows a page caching HTML that would be working according to the latter system and generating that kind of code. On Sun, 13 Feb 2005 15:55:02 -0000, scaevola637 <[EMAIL PROTECTED]> wrote: > > What is the difference between these two: > HttpContext.Current.Cache.Insert > ("DLCPTDocCount",iDLCPTDocCount,null,DateTime.MaxValue,ts); > and > this.Page.Cache.Insert > ("DLCPTDocCount",iDLCPTDocCount,null,DateTime.MaxValue,ts); Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/AspNetAnyQuestionIsOk/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
