mirror of
https://github.com/fergalmoran/DnsServer.git
synced 2026-02-05 15:33:57 +00:00
BlockPageApp: minor change in cache header.
This commit is contained in:
@@ -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
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user