HighTechTalks DotNet Forums  

Caching the MasterPage

ASP.net Caching microsoft.public.dotnet.framework.aspnet.caching


Discuss Caching the MasterPage in the ASP.net Caching forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
Mike Robbins
 
Posts: n/a

Default Caching the MasterPage - 03-10-2006 , 12:14 PM






I'm designing a new app in 2.0. In 1.1 I used user controls for headers
and footers for each page. They had static information on them and so I
cached them.

In 2.0, I'm considering using a MasterPage instead of the user controls.
What I can't seem to find is whether or not I can cache the MasterPage
withouth caching the child pages.

Thanks,

Mike



Reply With Quote
  #2  
Old   
Joerg Jooss
 
Posts: n/a

Default Re: Caching the MasterPage - 03-10-2006 , 01:15 PM






Thus wrote Mike,

Quote:
I'm designing a new app in 2.0. In 1.1 I used user controls for
headers and footers for each page. They had static information on them
and so I cached them.

In 2.0, I'm considering using a MasterPage instead of the user
controls. What I can't seem to find is whether or not I can cache the
MasterPage withouth caching the child pages.
The master page isn't a single entity. It's being merged with the content
page at compile time and becomes a complete page. Thus, there's no concept
of caching a master page like caching a user control.

Cheers,
--
Joerg Jooss
news-reply (AT) joergjooss (DOT) de




Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.