diff options
Diffstat (limited to 'mcs')
-rw-r--r-- | mcs/class/System.Web/System.Web.UI/ChangeLog | 4 | ||||
-rwxr-xr-x | mcs/class/System.Web/System.Web.UI/Page.cs | 5 |
2 files changed, 7 insertions, 2 deletions
diff --git a/mcs/class/System.Web/System.Web.UI/ChangeLog b/mcs/class/System.Web/System.Web.UI/ChangeLog index 68c324bb225..7eea927fda2 100644 --- a/mcs/class/System.Web/System.Web.UI/ChangeLog +++ b/mcs/class/System.Web/System.Web.UI/ChangeLog @@ -1,3 +1,7 @@ +2004-02-09 Jackson Harper <jackson@ximian.com> + + * Page.cs: Set cacheability for server side caching. + 2004-01-30 Jackson Harper <jackson@ximian.com> * Control.cs: Ensure that dynamically loaded controls are diff --git a/mcs/class/System.Web/System.Web.UI/Page.cs b/mcs/class/System.Web/System.Web.UI/Page.cs index 78a0502f34d..0b54123db4a 100755 --- a/mcs/class/System.Web/System.Web.UI/Page.cs +++ b/mcs/class/System.Web/System.Web.UI/Page.cs @@ -450,8 +450,9 @@ public class Page : TemplateControl, IHttpHandler foreach (string h in hdrs) cache.VaryByHeaders [h.Trim ()] = true; } - - break; + + cache.SetCacheability (HttpCacheability.Server); + break; case OutputCacheLocation.None: break; } |