Microsoft Content Management Server - MCMS Caching

This is Interesting: Free IT Magazines  
Home > Archive > Microsoft Content Management Server > July 2005 > MCMS Caching





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author MCMS Caching
Ramzi

2005-07-07, 8:48 pm

Hi, we have pages that are very personalized with User Controls that are
consistently dynamic.

So what we would like is for the CMS content (coming from placeholders) to
be cached but NOT for the user controls to be cached.

We've tried putting this
<%@ OutputCache Duration="30" Location="Server" VaryByParam="None"
VaryByCustom="CMSPosting;CMSRole;CMSUser"%>
but this seems to caching our web user controls which goes againt our
requirements.

Any ideas out there? Stefan? anyone?
--
MCSD.NET
Stefan [MSFT]

2005-07-08, 2:48 am

Hi Ramzi,

this is actually an ASP.NET question and not a MCMS question.
Anyway: ASP.NET does not allow to do this. If you cache a page then
everything is cached. ASP.NET cannot exclude something.
This also affects caching btw: you cannot set a smaller timeframe for the
user control cache as for the page cache as the page always wins.

This will change with ASP.NET 2.0 where you are able to exclude parts of the
page from being cached.

Cheers,
Stefan

"Ramzi" <Ramzi@discussions.microsoft.com> schrieb im Newsbeitrag
news:60658A1E-A5D3-42BA-AAC0-8D826E25FDB7@microsoft.com...
> Hi, we have pages that are very personalized with User Controls that are
> consistently dynamic.
>
> So what we would like is for the CMS content (coming from placeholders) to
> be cached but NOT for the user controls to be cached.
>
> We've tried putting this
> <%@ OutputCache Duration="30" Location="Server" VaryByParam="None"
> VaryByCustom="CMSPosting;CMSRole;CMSUser"%>
> but this seems to caching our web user controls which goes againt our
> requirements.
>
> Any ideas out there? Stefan? anyone?
> --
> MCSD.NET



Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com