UserControls - Programatically setting output caching duration?
<p>I want duration to be configurable from Web.config file, so user can alter the output caching after deployment.</p>

<p>For achieving such puropse i need quuivalent C# codebehind snippet of following ASP.NET markup?</p>

<pre><code>&lt;%@ OutputCache Duration="120" VaryByParam="CategoryName" %&gt;
</code></pre>
