From dfb62b172da4e7541c397ea0dadbbb09163170f6 Mon Sep 17 00:00:00 2001 From: Shreyas Zare Date: Sat, 9 Nov 2024 19:38:00 +0530 Subject: [PATCH] BlockPageApp: minor change in cache header. --- Apps/BlockPageApp/App.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Apps/BlockPageApp/App.cs b/Apps/BlockPageApp/App.cs index 1e05b5f1..be06d4db 100644 --- a/Apps/BlockPageApp/App.cs +++ b/Apps/BlockPageApp/App.cs @@ -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 });