Groups | Blog | Home
all groups > asp.net caching > march 2006 >

asp.net caching : Caching the MasterPage



Mike Robbins
3/10/2006 8:14:55 AM
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

Joerg Jooss
3/10/2006 6:15:27 PM
Thus wrote Mike,

[quoted text, click to view]

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@joergjooss.de

AddThis Social Bookmark Button