Fixed: UI not updating on upgrade

(cherry picked from commit d566c1efd42f9a94c524db311e8fa99bc6e0323f)
(cherry picked from commit 4b0586bd3d1cca4682dee53cc5af5ef1fa66978e)
This commit is contained in:
ta264 2021-08-04 21:42:41 +01:00 committed by Qstick
parent 2b0da546c9
commit 5b2affcabb
8 changed files with 47 additions and 25 deletions

View file

@ -193,6 +193,7 @@ namespace Lidarr.Http.Extensions
public static void DisableCache(this IHeaderDictionary headers)
{
headers.Remove("Last-Modified");
headers["Cache-Control"] = "no-cache, no-store";
headers["Expires"] = "-1";
headers["Pragma"] = "no-cache";