<rss version="2.0" xmlns:dn247="http://www.dot-net-guru.com/schemas/rss"><channel><title>.Net Guru: ASPFriends.com 'aspngcache' list</title><link>http://www.dot-net-guru.com/247reference/__site/125</link><description>ASPFriends.com 'aspngcache' list on .Net Guru.</description><generator>.Net Guru/WinFX 247 RSS Generator</generator><dn247:id>125</dn247:id><item><title>Fragment caching a custom control (5 replies)</title><link>http://www.dot-net-guru.com/247reference/msgs/27/135678.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/27/135678.aspx</guid><pubDate>20 Aug 2002 03:21:58</pubDate><description>Moved from [aspngwebcontrols] to [aspngcache] by Let the good times roll bbilbro@hotmail.com Hi. Can someone tell me how to use fragment caching with a custom control? With a user control it is easy, I just add the OutputCache directive to the top of the page, but this cannot be done with a custom control. /joakim sundén </description><dn247:id>135678</dn247:id><dn247:siteId>125</dn247:siteId></item><item><title>I am trying to set up caching on this code and I get this error (3 replies)</title><link>http://www.dot-net-guru.com/247reference/msgs/27/135676.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/27/135676.aspx</guid><pubDate>20 Aug 2002 03:21:56</pubDate><description>Moved from [aspngdata] to [aspngcache] by Let the good times roll bbilbro@hotmail.com I am trying to set up caching on this code and I get this error If Page.IsPostBack False Then AnnoucementsSource Cache(&amp;amp;quot;Annoucements&amp;amp;quot;) if AnnoucementsSource is nothing Then Dim myCommand As New SqlDataAdapter(&amp;amp;quot;GetListofAnnoucements&amp;amp;quot;, myConnection) myCommand.SelectCommand.CommandType CommandType.StoredProcedure ' ...</description><dn247:id>135676</dn247:id><dn247:siteId>125</dn247:siteId></item><item><title>Caching VaryByControl: problems getting value of child control (2 replies)</title><link>http://www.dot-net-guru.com/247reference/msgs/27/135679.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/27/135679.aspx</guid><pubDate>11 Aug 2002 02:45:00</pubDate><description>Problem #1: Take a look at: http://www.learnasp.com/students/charlescarroll/sourcecode searcheruc cached.aspx and run the code. The good news is that the listbox output is cached. There are two ways to tell: 1. the trace.write dblist cached.ascx SUB Page Load start never gets called if caching occurs and/or 2. System.Web.UI.StaticPartialCachingControl appears at relevant places in the control tree...</description><dn247:id>135679</dn247:id><dn247:siteId>125</dn247:siteId></item><item><title>Turn off caching on server? (2 replies)</title><link>http://www.dot-net-guru.com/247reference/msgs/27/135677.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/27/135677.aspx</guid><pubDate>05 Aug 2002 21:02:00</pubDate><description>How can I be sure that the cache is disabled? Is there a way? I have used %@ OutputCache Duration 3D&amp;amp;quot;1&amp;amp;quot; VaryByParam 3D&amp;amp;quot;None&amp;amp;quot; % but was wondering if there were other ways to achieve this on the app or machine level (not via OutputCache Duration). Thanks. 20 </description><dn247:id>135677</dn247:id><dn247:siteId>125</dn247:siteId></item><item><title>Caching User Specific Data In a Multi User App? (3 replies)</title><link>http://www.dot-net-guru.com/247reference/msgs/24/123131.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/24/123131.aspx</guid><pubDate>07 Jul 2002 22:40:38</pubDate><description>Moved from [aspngfreeforall] to [aspngcache] by Yannick Smits dotnet@stepcompany.com Hey Everyone I've got a page pulling back a result set that is user specific, and I would like to be able to cache it as a data view since the page gives a lot of options for sorting the data. I would like to insert the data into Page.Cache, but that is not user specific....My next thought was to add the data with...</description><dn247:id>123131</dn247:id><dn247:siteId>125</dn247:siteId></item><item><title>is it possible to cache aspx page EXCLUDING the user control within? (2 replies, VIP)</title><link>http://www.dot-net-guru.com/247reference/msgs/24/123135.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/24/123135.aspx</guid><pubDate>02 Jul 2002 16:00:00</pubDate><description>Moved from [aspngfreeforall] to [aspngcache] by Marcie Jones marciejones@yahoo.com How is it possible to cache aspx page excluding the usercontrols or server controls??? </description><dn247:id>123135</dn247:id><dn247:siteId>125</dn247:siteId><dn247:highlight>True</dn247:highlight></item><item><title>Caching in a class (3 replies)</title><link>http://www.dot-net-guru.com/247reference/msgs/23/118587.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/23/118587.aspx</guid><pubDate>25 Jun 2002 00:12:33</pubDate><description>For some reason, this code returns an &amp;amp;quot;Object reference not set to an instance of an object.&amp;amp;quot; error in the second line (in the example). This is in a class that doesn't import the Page or Usercontrol classes, so I have to define the cache class separately. It's in a readonly property of the class. Private myCache As Caching.Cache If myCache(&amp;amp;quot;myThing&amp;amp;quot;) Is Nothing Then myCache(&amp;amp;quot;myThing&amp;amp;quot;) MyItem End ...</description><dn247:id>118587</dn247:id><dn247:siteId>125</dn247:siteId></item><item><title>objects and caching (17 replies, VIP)</title><link>http://www.dot-net-guru.com/247reference/msgs/22/110163.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/22/110163.aspx</guid><pubDate>05 Jun 2002 12:44:16</pubDate><description>Copied from [aspngarchitecture] to [aspngcache] by Cain Marco juggernaut@aspelite.com I have an object stored in session for each user visiting my site. I want to record clickpath info. Instead of writing to the DB every click, I want to write to a Cache copy of a DataTable and dump it to SQL every 5 minutes or so. Should I create an object to represent the DataTable, so I can call its constructor...</description><dn247:id>110163</dn247:id><dn247:siteId>125</dn247:siteId><dn247:highlight>True</dn247:highlight></item><item><title>Fragment Caching Strategy (2 replies)</title><link>http://www.dot-net-guru.com/247reference/msgs/21/106494.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/21/106494.aspx</guid><pubDate>24 May 2002 12:31:00</pubDate><description>Hi, In a common Content Management solution, content is created in a back end application and cached in the front end. Meanwhile, if the content is changed in the back end, the user is able to selectively flush this content (ie. remove it from the cache) in order for the new version to be displayed. (That's how we do it in Vignette !) After looking at the fragment caching in .NET, I can't see an o...</description><dn247:id>106494</dn247:id><dn247:siteId>125</dn247:siteId></item><item><title>Cache (6 replies)</title><link>http://www.dot-net-guru.com/247reference/msgs/12/62453.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/12/62453.aspx</guid><pubDate>16 May 2002 15:45:35</pubDate><description>I'm building a WebService to return partial pages. I'm trying to use the Cache with little success. What namespace am I missing. Thanks for any help. Error Message... The name 'Cache' does not exist in the class or namespace 'yyyZWs.About' Code... protected static string strGfw; [WebMethod] public string Gfw() { // Is it in the Cache strGfw (string)Cache[&amp;amp;quot;GfwAbout&amp;amp;quot;]; // Found return the Cache Copy...</description><dn247:id>62453</dn247:id><dn247:siteId>125</dn247:siteId></item><item><title>Caching woes (6 replies)</title><link>http://www.dot-net-guru.com/247reference/msgs/19/99375.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/19/99375.aspx</guid><pubDate>13 May 2002 15:11:00</pubDate><description>Moved from [aspngfreeforall] to [aspngcache] by Marcie Jones marciejones@yahoo.com I have an aspx that streams an image to the client. That image is created dynamically, so I decided to cache. On my dev machine and on the QA server, the cache yields great results. However, when I add exactly the same Cache directive on the production server, there is no change, as if caching was disabled. Any thou...</description><dn247:id>99375</dn247:id><dn247:siteId>125</dn247:siteId></item><item><title>Custom control caching question (3 replies)</title><link>http://www.dot-net-guru.com/247reference/msgs/18/94815.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/18/94815.aspx</guid><pubDate>06 May 2002 11:26:50</pubDate><description>Moved from [aspngfreeforall] to [aspngcache] by Douglas Reilly doug@accessmicrosystems.net I have built a custom control that I have compiled into a dll and placed in the bin folder and registered on an .aspx page. All works fine. The control displays one random record from a database based on certain internal criteria, meaning I pass no information to the control. I want to cache the output of th...</description><dn247:id>94815</dn247:id><dn247:siteId>125</dn247:siteId></item><item><title>How long we can Cache? (16 replies, VIP)</title><link>http://www.dot-net-guru.com/247reference/msgs/17/86234.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/17/86234.aspx</guid><pubDate>06 May 2002 11:26:49</pubDate><description>To Cache, all we need is to add the following directive at the top of our ASPX page %@ OutputCache Duration &amp;amp;quot;1000&amp;amp;quot; VaryByParam &amp;amp;quot;none&amp;amp;quot; % And this 1000 is seconds, right? (around 16 minutes) How large can be this duration? If I give a very big value, then the will be cached for a very long time, right? If it is cached for very long time, do we have any memory/performance issues? Thanks, Das.</description><dn247:id>86234</dn247:id><dn247:siteId>125</dn247:siteId><dn247:highlight>True</dn247:highlight></item><item><title>What happen to "CacheItemPriorityDecay" Enum? (2 replies, VIP)</title><link>http://www.dot-net-guru.com/247reference/msgs/18/94814.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/18/94814.aspx</guid><pubDate>06 May 2002 11:26:49</pubDate><description>Hi All, I've used the CacheItemPriorityDecay Enum with the Cache.Insert method in Beat2. Now this enum is gone. Any idea what happened? Thanks, Srinivasa Sivakumar </description><dn247:id>94814</dn247:id><dn247:siteId>125</dn247:siteId><dn247:highlight>True</dn247:highlight></item><item><title>NOT ANSWERED: Custom control caching question (2 replies)</title><link>http://www.dot-net-guru.com/247reference/msgs/18/94817.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/18/94817.aspx</guid><pubDate>03 May 2002 15:38:00</pubDate><description>I have built a custom control that I have compiled into a dll and placed in the bin folder and registered on an .aspx page. All works fine. The control displays one random record from a database based on certain internal criteria, meaning I pass no information to the control. I want to cache the output of the control and have it expire at midnight, every night, so that a new record is displayed ev...</description><dn247:id>94817</dn247:id><dn247:siteId>125</dn247:siteId></item><item><title>totally deactivate cache? (2 replies)</title><link>http://www.dot-net-guru.com/247reference/msgs/18/94816.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/18/94816.aspx</guid><pubDate>03 May 2002 08:09:00</pubDate><description>Moved from [aspngfreeforall] to [aspngcache] by Charles M. Carroll charlesmarkcarroll@yahoo.com Hello, I would like to totally deactivate the cache for some asp.net/c# pages. For security reasons, I do not want even some of the icons wich are displayed on my pages to be stored in some temporary directory. I've seen ways not to cache a page, in wich the client/proxy will always reload the page, but...</description><dn247:id>94816</dn247:id><dn247:siteId>125</dn247:siteId></item><item><title>Cache sizing, and partitioning (2 replies, VIP)</title><link>http://www.dot-net-guru.com/247reference/msgs/17/86828.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/17/86828.aspx</guid><pubDate>19 Apr 2002 18:18:00</pubDate><description>If I have a page that is cached; and the &amp;amp;quot;generated HTML&amp;amp;quot; takes up 10k, does this equate to 10k of memory or is this compressed? tc </description><dn247:id>86828</dn247:id><dn247:siteId>125</dn247:siteId><dn247:highlight>True</dn247:highlight></item><item><title>VaryByParams change requires an IIS restart? - bug? (3 replies)</title><link>http://www.dot-net-guru.com/247reference/msgs/15/79945.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/15/79945.aspx</guid><pubDate>09 Apr 2002 09:37:00</pubDate><description>Quick experimentation indicates that changing the VaryByParams value of the OutputCache directive requires an IIS restart to take effect. Anyone corroborate? Known bug? Env: w2k, .net rtm (sans sp1) Dan Green [ http://dotnetdan.com putting the dan in .net ] </description><dn247:id>79945</dn247:id><dn247:siteId>125</dn247:siteId></item><item><title>How do you prevent a page from caching? (5 replies)</title><link>http://www.dot-net-guru.com/247reference/msgs/15/75380.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/15/75380.aspx</guid><pubDate>01 Apr 2002 14:50:00</pubDate><description>Hi, Is there a way to make a page not cache at all? I've tried setting Duration &amp;amp;quot;0&amp;amp;quot; (in the %@ OutputCache ......% directive), but I get the error &amp;amp;quot;The 'duration' attribute must be set to a positive integer value&amp;amp;quot;. There must be some obvious way to do this that I am overlooking. Any suggestions will be greatly appreciated. Thanks, Michael Bunger</description><dn247:id>75380</dn247:id><dn247:siteId>125</dn247:siteId></item><item><title>Odd and Puzzling Error (3 replies)</title><link>http://www.dot-net-guru.com/247reference/msgs/14/74161.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/14/74161.aspx</guid><pubDate>29 Mar 2002 15:51:48</pubDate><description>Moved from [aspngfreeforall] to [aspngcache] by Marcie Jones marciejones@yahoo.com i am storing loaded user controls in the Cache object. i can turn the feature on and off with a Web.Config setting. when i am using objects from Cache is seems to be affecting my response HTTP headers. the error message upon doing a Context.Response.Redirect is: &amp;amp;quot;Cannot redirect after HTTP headers have been sent.&amp;amp;quot; i...</description><dn247:id>74161</dn247:id><dn247:siteId>125</dn247:siteId></item><item><title>Performance of Caching Data (4 replies)</title><link>http://www.dot-net-guru.com/247reference/msgs/14/71388.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/14/71388.aspx</guid><pubDate>24 Mar 2002 17:31:32</pubDate><description>Moved from [aspngdatagridrepeaterdatalist] to [aspngcache] by Bob Levittan blevittan@hotmail.com Hi all, I have a performance question. I have a report that will be returning two Different Datasets. The report will probably be using a DataGrid, and I will be using the sorting properties of the DataGrid. My question is this. After I initially get the datasets from the SQL server and populate the Da...</description><dn247:id>71388</dn247:id><dn247:siteId>125</dn247:siteId></item><item><title>Clearing User Control Cache (14 replies)</title><link>http://www.dot-net-guru.com/247reference/msgs/13/67641.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/13/67641.aspx</guid><pubDate>21 Mar 2002 00:39:22</pubDate><description>Is there any way to clear the cache so that user controls get re loaded? This is only really required during development. I have been making changes to a user control, but the changes aren't being seen on the page because the user control is being cached. Cheers, Julian Voelcker </description><dn247:id>67641</dn247:id><dn247:siteId>125</dn247:siteId></item><item><title>Output caching and file based expiration (2 replies)</title><link>http://www.dot-net-guru.com/247reference/msgs/13/67640.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/13/67640.aspx</guid><pubDate>12 Mar 2002 15:04:00</pubDate><description>I have a page that is using fragment caching via a user control. Everything is working fine. I would like however, to expire the fragment from cache based on an XML file sitting on the local drive. I want the fragment to stay in cache as long as this file remains unchanged. As soon as the XML file is updated, I was the fragment to expire, and be recreated. The only thing I can seem to find is sett...</description><dn247:id>67640</dn247:id><dn247:siteId>125</dn247:siteId></item><item><title>Data Cache implementation (2 replies, VIP)</title><link>http://www.dot-net-guru.com/247reference/msgs/13/65316.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/13/65316.aspx</guid><pubDate>08 Mar 2002 03:20:00</pubDate><description>Does anyone know how the Data Cache is implemented? I'd guess that internally its a collection based object, such as a hashtable. We're looking at putting a large number of items into the Cache (1000) and were wondering how the lookup algorthim of the Cache would affect our retrieval times. Thanks &amp;amp;quot;A guy who converts pints of Guinness into software.&amp;amp;quot; You might be one of them: http://www.lp.org/qui...</description><dn247:id>65316</dn247:id><dn247:siteId>125</dn247:siteId><dn247:highlight>True</dn247:highlight></item><item><title>OutputCache (3 replies)</title><link>http://www.dot-net-guru.com/247reference/msgs/12/64306.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/12/64306.aspx</guid><pubDate>06 Mar 2002 22:07:00</pubDate><description>Moved from [aspngfreeforall] to [aspngcache] by Marcie Jones marciejones@yahoo.com I've noticed that statements like %@ OutputCache Duration &amp;amp;quot;43200&amp;amp;quot; VaryByParam &amp;amp;quot;none&amp;amp;quot; % Can have a very strange effect on the use of debugging. When I was debugging a few web pages I knew I had added a debug line setup to an area that contained the output cache command but those lines were not even being scanned duri...</description><dn247:id>64306</dn247:id><dn247:siteId>125</dn247:siteId></item><item><title>NOT ANSWERED: How to NOT cache page (9 replies, VIP)</title><link>http://www.dot-net-guru.com/247reference/msgs/11/58533.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/11/58533.aspx</guid><pubDate>01 Mar 2002 02:43:03</pubDate><description>Original Message From: Chan, Jasmine Sent: Wednesday, February 20, 2002 8:48 AM To: aspngcache Subject: [aspngcache] How to NOT cache page Hi all, I know that there has been a lot of talk about caching pages but what if I don't want to cache my page. In the classic, I have use the meta tags to define no cache but sometimes that is not really reliable. Is there a page directive in which you can sta...</description><dn247:id>58533</dn247:id><dn247:siteId>125</dn247:siteId><dn247:highlight>True</dn247:highlight></item><item><title>VaryByControl Caching problem w/ User Control &amp; Properties (2 replies)</title><link>http://www.dot-net-guru.com/247reference/msgs/11/59941.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/11/59941.aspx</guid><pubDate>27 Feb 2002 15:48:00</pubDate><description>Moved from [aspngfreeforall] to [aspngcache] by Marcie Jones marciejones@yahoo.com Hi, This might be better on the caching list or usercontrol list, but not sure where. I have run into an issue that appears to be caching related as it only happens when caching is enabled in my user control. Here is the scenerio: We run a music retail site, so a lot of content is based on a particular genre. This i...</description><dn247:id>59941</dn247:id><dn247:siteId>125</dn247:siteId></item><item><title>Page Cache and FormatString Questions. (2 replies)</title><link>http://www.dot-net-guru.com/247reference/msgs/11/58783.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/11/58783.aspx</guid><pubDate>25 Feb 2002 22:18:00</pubDate><description>Copied from [aspngfreeforall] to [aspngcache] by G. Andrew Duthie (Moderator) andrew@graymad.com Hi All Page Cache Question: I have created 2 apsx pages, one displays information on a single row from a database, the other edits that same information. The problem I am having is that when I redirect the user back to the view page, the information is the old info but refreshing the page loads the rig...</description><dn247:id>58783</dn247:id><dn247:siteId>125</dn247:siteId></item><item><title>Accessing the Cache from a business object (2 replies)</title><link>http://www.dot-net-guru.com/247reference/msgs/10/50123.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/10/50123.aspx</guid><pubDate>09 Feb 2002 02:15:00</pubDate><description>Can someone point me to some documentation/examples on accessing ASP context from a business object? ie, Session, Application, and Cache objects? Thanks! Mike Best &amp;amp;quot;A guy who converts pints of Guinness into software.&amp;amp;quot; You might be one of them: http://www.lp.org/quiz/ Help save us from the IRS: http:///www.fairtax.org Do You Yahoo!? Send FREE Valentine eCards with Yahoo! Greetings! http://greetings...</description><dn247:id>50123</dn247:id><dn247:siteId>125</dn247:siteId></item><item><title>Invalidate Output Caches (10 replies, VIP)</title><link>http://www.dot-net-guru.com/247reference/msgs/9/47968.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/9/47968.aspx</guid><pubDate>06 Feb 2002 03:36:42</pubDate><description>Is there an easy way to invalidate all the output caches for a site? When I update my template I need to clear all the output caches (the template it a .ascx included in a .aspx which is doing the caching). Thanks, Ryan </description><dn247:id>47968</dn247:id><dn247:siteId>125</dn247:siteId><dn247:highlight>True</dn247:highlight></item><item><title>First Load Time (2 replies)</title><link>http://www.dot-net-guru.com/247reference/msgs/9/46686.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/9/46686.aspx</guid><pubDate>31 Jan 2002 21:02:00</pubDate><description>Hi all, When I attempt to access my pages for the first time the load time always seems to be excessive (relatively), but once the aspx page has been accessed once it is much faster (and not just do to the OutputCache settings that we have). Is there a way to force these pages to be initialized automatically rather than having the first user bear the brunt of the load time burden? Thanks, Race Byx...</description><dn247:id>46686</dn247:id><dn247:siteId>125</dn247:siteId></item><item><title>Caching User Control Across Pages (2 replies, VIP)</title><link>http://www.dot-net-guru.com/247reference/msgs/9/46685.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/9/46685.aspx</guid><pubDate>29 Jan 2002 18:34:00</pubDate><description>Hello all, I've searched the archives a good bit, but havent found this question directly addressed. I'd like to cache a user control across several pages (for example, a control with 2 list boxes, with available States and Cities). Is this possible, or is such Fragment Caching limited to a single page, ie, a control is only cached for a single page, and another copy would be cached for a second p...</description><dn247:id>46685</dn247:id><dn247:siteId>125</dn247:siteId><dn247:highlight>True</dn247:highlight></item><item><title>Caching User Controls (2 replies, VIP)</title><link>http://www.dot-net-guru.com/247reference/msgs/8/42805.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/8/42805.aspx</guid><pubDate>25 Jan 2002 23:22:00</pubDate><description>Moved from [aspngfreeforall] to [aspngcache] by Charles M. Carroll charlesmarkcarroll@yahoo.com This is a multi part message in MIME format. NextPart 000 000A 01C1A5B1.E20D2030 Content Type: text/plain; charset &amp;amp;quot;US ASCII&amp;amp;quot; Content Transfer Encoding: 7bit Had anyone seen the following attribute in B2 which can be used on User Controls in code behind pages? In V1.0 it looks like you can add this to y...</description><dn247:id>42805</dn247:id><dn247:siteId>125</dn247:siteId><dn247:highlight>True</dn247:highlight></item><item><title>Hi ... Suggestion (2 replies)</title><link>http://www.dot-net-guru.com/247reference/msgs/8/41328.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/8/41328.aspx</guid><pubDate>23 Jan 2002 06:32:00</pubDate><description>Moved from [aspngfreeforall] to [aspngcache] by Charles M. Carroll charlesmarkcarroll@yahoo.com Hi , I am crafting an high end enterprise application using .NET tech. Just thought to take all of u r opinions. My design should be flexible enough in scaling up i.e. adding more no of servers ( clustering &amp;amp;amp; load balancing ). To improve the performance most of the data needs to be cached but cached dat...</description><dn247:id>41328</dn247:id><dn247:siteId>125</dn247:siteId></item><item><title>Application vs. static state (3 replies)</title><link>http://www.dot-net-guru.com/247reference/msgs/7/36412.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/7/36412.aspx</guid><pubDate>14 Jan 2002 23:30:24</pubDate><description>In a previous thread, Mr. Rob Howard has done a superb job of talking about the Application vs. Cache objects. What about Application object vs. static fields. If we have a class that needs encapsulated shared state, is there a reason to use the Application or Cache objects instead of just static fields? Dan Green [ http://dotnetdan.com putting the dan in .net ] Original Message From: Rob Howard [...</description><dn247:id>36412</dn247:id><dn247:siteId>125</dn247:siteId></item><item><title>Cache unavailable (5 replies, VIP)</title><link>http://www.dot-net-guru.com/247reference/msgs/7/36409.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/7/36409.aspx</guid><pubDate>14 Jan 2002 18:51:29</pubDate><description>I have created a class and added it to my ASP.Net project. I am trying to use ASP.Net cacheing from this class, so I inherited the System.Web.UI.Page, so that I could use it. It builds okay, but when I go access the page from the browser I get a &amp;amp;quot;Cache not available&amp;amp;quot; error. My code is below. Can I not add things to and get things from the cache from a class added to my web project? Can I only use ...</description><dn247:id>36409</dn247:id><dn247:siteId>125</dn247:siteId><dn247:highlight>True</dn247:highlight></item><item><title>create an object on every page, or save it in Session? (6 replies, VIP)</title><link>http://www.dot-net-guru.com/247reference/msgs/7/36414.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/7/36414.aspx</guid><pubDate>14 Jan 2002 16:50:00</pubDate><description>Situation #1 would create a User object, populate it from Session variables (which were populated from a single DB hit on Session Start), and destroy a User object on every Page Load. Situation #2 would create a User object for each Session only once, on Session Start, and save the User object in the Session object, which would be destroyed when the Session timed out. Either way, the DB is hit onl...</description><dn247:id>36414</dn247:id><dn247:siteId>125</dn247:siteId><dn247:highlight>True</dn247:highlight></item><item><title>cache business objects tied to a user in Cache or Session? (5 replies)</title><link>http://www.dot-net-guru.com/247reference/msgs/7/36413.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/7/36413.aspx</guid><pubDate>13 Jan 2002 19:49:00</pubDate><description>Moved from [aspngarchitecture] to [aspngcache] by Charles M. Carroll darthcarroll@asplists.com Is it more efficient to cache a business object, say a User or Member class, in the .NET Cache object (keyed by the user's SessionID), or directly in the user's own Session object? Francesco Send and receive Hotmail on your mobile device: http://mobile.msn.com </description><dn247:id>36413</dn247:id><dn247:siteId>125</dn247:siteId></item><item><title>Caching (4 replies, VIP)</title><link>http://www.dot-net-guru.com/247reference/msgs/7/36410.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/7/36410.aspx</guid><pubDate>03 Jan 2002 22:48:00</pubDate><description>I have an XML file that is used as a template to derive other XML files from. So, the process starts by loading an XML file into an XMLDocument, making some changes, and then persisting to another file on hard disk. My question is how might I go about using caching to increase the performance of loading the original XML template that never changes? Thanks! Jon The information contained in this com...</description><dn247:id>36410</dn247:id><dn247:siteId>125</dn247:siteId><dn247:highlight>True</dn247:highlight></item><item><title>caching scalability (3 replies, VIP)</title><link>http://www.dot-net-guru.com/247reference/msgs/7/36408.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/7/36408.aspx</guid><pubDate>02 Jan 2002 18:28:00</pubDate><description>If I were to cache say 300 pages for 1 week at a time, would this slow down the site or will it be EXACTLY like static pages? </description><dn247:id>36408</dn247:id><dn247:siteId>125</dn247:siteId><dn247:highlight>True</dn247:highlight></item><item><title>using XML in Cache... (3 replies)</title><link>http://www.dot-net-guru.com/247reference/msgs/6/30902.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/6/30902.aspx</guid><pubDate>22 Dec 2001 06:42:14</pubDate><description>Moved from [aspngdata] to [aspngcache] by Charles M. Carroll darthcarroll@asplists.com Has anyone read Dino Esposito's article in Dec 2001 MIND about using XML files as Caches? Looks very interesting....does anyone agree that it is a very scalable solution? Is caching data in XML files slower than using a standard Cache? Francesco Get your FREE download of MSN Explorer at http://explorer.msn.com/i...</description><dn247:id>30902</dn247:id><dn247:siteId>125</dn247:siteId></item><item><title>OutputCache not working (6 replies, VIP)</title><link>http://www.dot-net-guru.com/247reference/msgs/5/29537.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/5/29537.aspx</guid><pubDate>20 Dec 2001 20:10:42</pubDate><description>My OutputCache does not seem to be working: aspx file %@ Page language &amp;amp;quot;c#&amp;amp;quot; Codebehind &amp;amp;quot;WebForm1.aspx.cs&amp;amp;quot; AutoEventWireup &amp;amp;quot;false&amp;amp;quot; Inherits &amp;amp;quot;Dev.WebForm1&amp;amp;quot; % %@ OutputCache Duration &amp;amp;quot;10&amp;amp;quot; VaryByParam &amp;amp;quot;none&amp;amp;quot; % HTML body form id &amp;amp;quot;Form1&amp;amp;quot; method &amp;amp;quot;post&amp;amp;quot; runat &amp;amp;quot;server&amp;amp;quot; % Response.Write(DateTime.Now.ToString()); % /form /body /HTML I have also copied an entire example from the quickstarts word for word and ...</description><dn247:id>29537</dn247:id><dn247:siteId>125</dn247:siteId><dn247:highlight>True</dn247:highlight></item><item><title>Localization and cache (6 replies)</title><link>http://www.dot-net-guru.com/247reference/msgs/5/29533.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/5/29533.aspx</guid><pubDate>16 Dec 2001 01:07:32</pubDate><description>Does custom output caching in ASP.NET allow me to cache on the basis of the culture of the page? e.g. if I have URLs like article.aspx?id 123, I can cache for each value of the id parameter, but can I also split the caching to cover each copy of the page in the languages supported by article.aspx (e.g. if article.aspx uses Thread.CurrentCulture to display different content)? Ollie ollie@cornes.org...</description><dn247:id>29533</dn247:id><dn247:siteId>125</dn247:siteId></item><item><title>caching the SqlCommand Object (3 replies, VIP)</title><link>http://www.dot-net-guru.com/247reference/msgs/4/24429.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/4/24429.aspx</guid><pubDate>16 Dec 2001 01:07:30</pubDate><description>Hi all, I have some interesting behavior, and was wondering if you can help me. I'm caching SqlCommand objects (just the commandText and command parameters). Then when I want to use a SqlCommand, I just pull it from the Cache, add the connection , and loop through the parameters collection to add the values. Then i perform a cmd.Execute and close my connection. What I'm finding is that the command...</description><dn247:id>24429</dn247:id><dn247:siteId>125</dn247:siteId><dn247:highlight>True</dn247:highlight></item><item><title>Session vars verse cache (4 replies)</title><link>http://www.dot-net-guru.com/247reference/msgs/5/29536.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/5/29536.aspx</guid><pubDate>13 Dec 2001 21:27:00</pubDate><description>Are people still using session variables to hold information specific to a user. I'm just starting to build out the user access for a site. I built a User Object and thought I would put it in cashe until the information is needed. Seems the Cache is more like an Application variable. Each user that got into the system overwrote the pervious object. Was wondering what other people are doing? </description><dn247:id>29536</dn247:id><dn247:siteId>125</dn247:siteId></item><item><title>Caching problem (4 replies)</title><link>http://www.dot-net-guru.com/247reference/msgs/5/29534.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/5/29534.aspx</guid><pubDate>03 Dec 2001 15:57:00</pubDate><description>Hi all I am testing the OutputCache and everything works fine on my develop machine. %@ OutputCache Duration &amp;amp;quot;10&amp;amp;quot; VaryByParam &amp;amp;quot;*&amp;amp;quot; % .... BUT, moving the files to another server and another URL, does everything but the OutputCache work. I got no errorcodes, everything seems to work, but the page is clearly not cached. Any suggestions what to do. (IIS settings,web.config params ??) Thanks /Per Gullb...</description><dn247:id>29534</dn247:id><dn247:siteId>125</dn247:siteId></item><item><title>Can Someone Explain This Caching Behavior (4 replies, VIP)</title><link>http://www.dot-net-guru.com/247reference/msgs/4/23922.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/4/23922.aspx</guid><pubDate>22 Nov 2001 03:47:18</pubDate><description>Hello, Is output caching supposed to serve page refreshes from the cache or is the page re run? I have a very simple test page that does send the cached response if I retype the url in the browser or if I access the page from a second browser window. If I open the page, and then hit the refresh button on my browser, then the page is re run every time I hit the refresh button, and I do not get the ...</description><dn247:id>23922</dn247:id><dn247:siteId>125</dn247:siteId><dn247:highlight>True</dn247:highlight></item><item><title>Expiring Cached values due to changes in a db (7 replies)</title><link>http://www.dot-net-guru.com/247reference/msgs/4/23810.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/4/23810.aspx</guid><pubDate>21 Nov 2001 13:05:00</pubDate><description>I am looking for a way to expire a cache when data in sql server changes (through the use of a trigger, extended sproc, or ole automation object) I can write my own OA object to do this but i'm looking for a better (and more reliable) method. Ron </description><dn247:id>23810</dn247:id><dn247:siteId>125</dn247:siteId></item><item><title>Caching Question (3 replies, VIP)</title><link>http://www.dot-net-guru.com/247reference/msgs/4/23509.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/4/23509.aspx</guid><pubDate>20 Nov 2001 22:24:05</pubDate><description>Copied from [aspngarchitecture] to [aspngcache] by Charles M. Carroll darthcarroll@aspfriends.com Hello All, I would like to put an output caching directive in an ascx file so that my user control is fragment cached. I then need to be able to explicitly expire the cached version of the ascx control. I would need to expire based on some user action, NOT based on time or browser type. I have thought...</description><dn247:id>23509</dn247:id><dn247:siteId>125</dn247:siteId><dn247:highlight>True</dn247:highlight></item><item><title>Output caching not working (2 replies)</title><link>http://www.dot-net-guru.com/247reference/msgs/3/18489.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/3/18489.aspx</guid><pubDate>05 Nov 2001 17:41:00</pubDate><description>For some reason I can not get output caching to work. I have tested the feature using code from the quickstart tutorial: http://samples.gotdotnet.com/quickstart/util/srcview.aspx?path /quickstart/a spplus/samples/cache/outputcache1.src http://samples.gotdotnet.com/quickstart/util/srcview.aspx?path /quickstart/ aspplus/samples/cache/outputcache1.src but it does not work. I get fresh pages with each...</description><dn247:id>18489</dn247:id><dn247:siteId>125</dn247:siteId></item></channel></rss>