BlockPageApp: minor change in cache header.

This commit is contained in:
Shreyas Zare
2024-11-09 19:38:00 +05:30
parent f5ea0c0e01
commit dfb62b172d

View File

@@ -250,7 +250,7 @@ namespace BlockPage
OnPrepareResponse = delegate (StaticFileResponseContext ctx)
{
ctx.Context.Response.Headers["X-Robots-Tag"] = "noindex, nofollow";
ctx.Context.Response.Headers.CacheControl = "private, max-age=300";
ctx.Context.Response.Headers.CacheControl = "no-cache";
},
ServeUnknownFileTypes = true
});