| caching scalability (3 replies, VIP) |
| ASPFriends.com 'aspngcache' list |
| 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? |
|
| Caching (4 replies, VIP) |
| ASPFriends.com 'aspngcache' list |
| 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... |
|
| cache business objects tied to a user in Cache or Session? (5 replies) |
| ASPFriends.com 'aspngcache' list |
| 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 |
|
| create an object on every page, or save it in Session? (6 replies, VIP) |
| ASPFriends.com 'aspngcache' list |
| 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... |
|
| Cache unavailable (5 replies, VIP) |
| ASPFriends.com 'aspngcache' list |
| 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 "Cache not available" 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 ... |
|
| Application vs. static state (3 replies) |
| ASPFriends.com 'aspngcache' list |
| 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 [... |
|
| Hi ... Suggestion (2 replies) |
| ASPFriends.com 'aspngcache' list |
| 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 & load balancing ). To improve the performance most of the data needs to be cached but cached dat... |
|
| Caching User Controls (2 replies, VIP) |
| ASPFriends.com 'aspngcache' list |
| 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 "US ASCII" 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... |
|
| Caching User Control Across Pages (2 replies, VIP) |
| ASPFriends.com 'aspngcache' list |
| 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... |
|
| First Load Time (2 replies) |
| ASPFriends.com 'aspngcache' list |
| 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... |
|