From 19e202d5e1e107de9ac9bc110422187b8c6899ce Mon Sep 17 00:00:00 2001 From: LukePulverenti Luke Pulverenti luke pulverenti Date: Tue, 18 Sep 2012 18:50:26 -0400 Subject: Added http server support for etags --- MediaBrowser.Controller/Drawing/BaseImageProcessor.cs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'MediaBrowser.Controller/Drawing/BaseImageProcessor.cs') diff --git a/MediaBrowser.Controller/Drawing/BaseImageProcessor.cs b/MediaBrowser.Controller/Drawing/BaseImageProcessor.cs index 8fc6564e7..a1441cf7f 100644 --- a/MediaBrowser.Controller/Drawing/BaseImageProcessor.cs +++ b/MediaBrowser.Controller/Drawing/BaseImageProcessor.cs @@ -83,12 +83,14 @@ namespace MediaBrowser.Controller.Drawing } } + private static DateTime testDate = DateTime.UtcNow; + public override DateTime ProcessingConfigurationDateLastModifiedUtc { get { - // This will result in a situation where images are never cached, but again, this is a prototype - return DateTime.UtcNow; + // This will result in a situation where images are only cached throughout a server session, but again, this is a prototype + return testDate; } } -- cgit v1.2.3