title: When should I not set @OutputCache Shared Attribute in Webforms?
body: <p>Reading the <a href="http://msdn.microsoft.com/en-us/library/hdxfb6cy%28v=VS.100%29.aspx" rel="nofollow">@OutputCache documentation in MSDN</a> I have noticed the <code>Shared</code> attribute</p>
  
  <p>Doc says:</p>
  
  <blockquote>
    <p>Shared</p>
  
  <pre><code>A Boolean value that determines whether user control output can be
  </code></pre>
    
    <p>shared with multiple pages. The
    default is false. For more
    information, see the Remarks section.</p>
  </blockquote>
  
  <p>Remarks says:</p>
  
  <blockquote>
    <p>If you set the Shared attribute to
    true, cached user control output can
    be accessed by multiple Web Forms
    pages. If you do not set it to true,
    the default behavior is to cache one
    version of user control output for
    each page that contains that user
    control. You can potentially save a
    significant amount of memory by
    enabling the Shared attribute. For
    more information, see Caching Portions
    of an ASP.NET Page.</p>
  </blockquote>
  
  <p>So I'm starting to believe that normally this should be set to true for controls that are gonna be rendered exactly in different pages in order to save cache memory.</p>
  
  <p>The question is... when should I <strong>not</strong> set <code>Shared</code> to true?</p>