From 1b5ed1d64165644f6bed21878d76fa6ffdcf8632 Mon Sep 17 00:00:00 2001 From: Mark McDowall Date: Sat, 10 May 2014 18:31:07 -0700 Subject: [PATCH] Fixed: Disable caching of iCal --- src/NzbDrone.Api/Frontend/IsCacheableSpecification.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/NzbDrone.Api/Frontend/IsCacheableSpecification.cs b/src/NzbDrone.Api/Frontend/IsCacheableSpecification.cs index 58307b4a6..875e5727d 100644 --- a/src/NzbDrone.Api/Frontend/IsCacheableSpecification.cs +++ b/src/NzbDrone.Api/Frontend/IsCacheableSpecification.cs @@ -23,6 +23,7 @@ namespace NzbDrone.Api.Frontend if (context.Request.Path.StartsWith("/api", StringComparison.CurrentCultureIgnoreCase)) return false; if (context.Request.Path.StartsWith("/signalr", StringComparison.CurrentCultureIgnoreCase)) return false; if (context.Request.Path.EndsWith("main.js")) return false; + if (context.Request.Path.StartsWith("/feed", StringComparison.CurrentCultureIgnoreCase)) return false; if (context.Request.Path.StartsWith("/log", StringComparison.CurrentCultureIgnoreCase) && context.Request.Path.EndsWith(".txt", StringComparison.CurrentCultureIgnoreCase))