<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.technet.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Channel based ASP.NET output caching for user web controls</title><link>http://blogs.technet.com/stefan_gossner/archive/2003/12/23/45417.aspx</link><description>ASP.NET output caching is a mandatory feature for all high performance Web sites. MCMS extends the ASP.NET output caching to allow caching of content based on (e.g.) the Posting and User Context. To allow this MCMS adds new token strings which can be</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>re: Channel based ASP.NET output caching for user web controls</title><link>http://blogs.technet.com/stefan_gossner/archive/2003/12/23/45417.aspx#45425</link><pubDate>Tue, 23 Dec 2003 23:31:00 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:45425</guid><dc:creator>Scott Watermasysk</dc:creator><description>This is exactly what .Text is using now. :)&lt;br&gt;&lt;br&gt;-Scott</description></item><item><title>re: Channel based ASP.NET output caching for user web controls</title><link>http://blogs.technet.com/stefan_gossner/archive/2003/12/23/45417.aspx#71304</link><pubDate>Wed, 11 Feb 2004 23:58:00 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:71304</guid><dc:creator>PV</dc:creator><description>likewise, some content depends on the particular template, or mode.  Here is my version...&lt;br&gt;&lt;br&gt;protected override string GetVaryByCustomStringToken(HttpContext context, string token)&lt;br&gt;{&lt;br&gt;  string tokenValue;&lt;br&gt;&lt;br&gt;  switch (token)&lt;br&gt;  {&lt;br&gt;    case &amp;quot;cmschannel&amp;quot;:&lt;br&gt;      tokenValue = CmsHttpContext.Current.Channel.Path;&lt;br&gt;      break;&lt;br&gt;    case &amp;quot;cmsmode&amp;quot;:&lt;br&gt;      tokenValue = CmsHttpContext.Current.Mode.ToString();&lt;br&gt;      break;&lt;br&gt;    case &amp;quot;cmstemplate&amp;quot;:&lt;br&gt;      if (CmsHttpContext.Current.Posting != null)&lt;br&gt;      {&lt;br&gt;        tokenValue = CmsHttpContext.Current.Posting.Template.Path;&lt;br&gt;        break;&lt;br&gt;      }&lt;br&gt;      else&lt;br&gt;      {&lt;br&gt;        goto default;&lt;br&gt;      }&lt;br&gt;    default:&lt;br&gt;      tokenValue = base.GetVaryByCustomStringToken (context, token);&lt;br&gt;      break;&lt;br&gt;  }&lt;br&gt;  return tokenValue;&lt;br&gt;}&lt;br&gt;</description></item><item><title>Channel based ASP.NET output caching for user web controls</title><link>http://blogs.technet.com/stefan_gossner/archive/2003/12/23/45417.aspx#409843</link><pubDate>Fri, 26 Aug 2005 08:59:35 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:409843</guid><dc:creator>Wayne Larimore - his bloggin' Weighs</dc:creator><description /></item><item><title>Channel based ASP.NET output caching for user web controls</title><link>http://blogs.technet.com/stefan_gossner/archive/2003/12/23/45417.aspx#409844</link><pubDate>Fri, 26 Aug 2005 09:07:49 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:409844</guid><dc:creator>Wayne Larimore - his bloggin' Weighs</dc:creator><description /></item></channel></rss>