From fc2a5864537979cae910d6d6e9975b103d65e97b Mon Sep 17 00:00:00 2001 From: Mark McDowall Date: Thu, 10 Jan 2019 19:16:47 -0800 Subject: [PATCH] Set max-age=0 on resources that should not be cached --- src/Sonarr.Http/Extensions/ReqResExtensions.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Sonarr.Http/Extensions/ReqResExtensions.cs b/src/Sonarr.Http/Extensions/ReqResExtensions.cs index 533bc8dd1..b5e7931cb 100644 --- a/src/Sonarr.Http/Extensions/ReqResExtensions.cs +++ b/src/Sonarr.Http/Extensions/ReqResExtensions.cs @@ -42,7 +42,7 @@ namespace Sonarr.Http.Extensions public static IDictionary DisableCache(this IDictionary headers) { - headers["Cache-Control"] = "no-cache, no-store, must-revalidate"; + headers["Cache-Control"] = "no-cache, no-store, must-revalidate, max-age=0"; headers["Pragma"] = "no-cache"; headers["Expires"] = "0";