Jo Shields a575963da9 Imported Upstream version 3.6.0
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
2014-08-13 10:39:27 +01:00

17 lines
510 B
Plaintext

<% @Page Language="C#" Debug="true" %>
<%
Response.ContentType = "text/plain";
Response.Write ("Only 'no-cache', 'public' and 'private' should be OK.\n");
foreach (string s in new string [] { "no-cache", "no-store", "public", "private", "no-transform", "must-revalidate", "proxy-revalidate", "max-age=10", "s-maxage=20", "cache-extension"} ){
Response.Write (s);
try {
Response.CacheControl = s;
Response.Output.WriteLine (" OK");
} catch {
Response.Output.WriteLine (" Failed");
}
}
%>