diff --git a/src/ImageProcessor.Web/HttpModules/ImageProcessingModule.cs b/src/ImageProcessor.Web/HttpModules/ImageProcessingModule.cs index b30d37d49..de1a64382 100644 --- a/src/ImageProcessor.Web/HttpModules/ImageProcessingModule.cs +++ b/src/ImageProcessor.Web/HttpModules/ImageProcessingModule.cs @@ -436,9 +436,7 @@ namespace ImageProcessor.Web.HttpModules context.Items[CachedResponseFileDependency] = new List { cachedPath }; } - string incomingEtag = context.Request.Headers["If" + "-None-Match"]; - - if (incomingEtag != null && !isNewOrUpdated) + if (!isNewOrUpdated) { // Set the Content-Length header so the client doesn't wait for // content but keeps the connection open for other requests. @@ -478,7 +476,6 @@ namespace ImageProcessor.Web.HttpModules /// /// This will make the browser and server keep the output /// in its cache and thereby improve performance. - /// /// /// /// the HttpContext object that provides