R
Rune
Hi
I use MMIT to render XHTML pages.
How do I disable client caching?
I've tried the following commands:
Response.CacheControl = "private";
Response.Cache.SetNoStore();
Response.Cache.SetCacheability(HttpCacheability.NoCache);
Response.Cache.SetMaxAge(new TimeSpan(0));
Response.Cache.SetLastModified(DateTime.Now);
Response.Cache.SetExpires(DateTime.Now);
Response.Expires = -1;
Response.AppendHeader("Pragma", "no-cache");
Response.AppendHeader("Cache-Control", "no-cache, must-revalidate");
But the xhtml code rendered contains no trace of these commands.
Please help!
Rune
I use MMIT to render XHTML pages.
How do I disable client caching?
I've tried the following commands:
Response.CacheControl = "private";
Response.Cache.SetNoStore();
Response.Cache.SetCacheability(HttpCacheability.NoCache);
Response.Cache.SetMaxAge(new TimeSpan(0));
Response.Cache.SetLastModified(DateTime.Now);
Response.Cache.SetExpires(DateTime.Now);
Response.Expires = -1;
Response.AppendHeader("Pragma", "no-cache");
Response.AppendHeader("Cache-Control", "no-cache, must-revalidate");
But the xhtml code rendered contains no trace of these commands.
Please help!
Rune