diff options
| author | LukePulverenti Luke Pulverenti luke pulverenti <LukePulverenti Luke Pulverenti luke.pulverenti@gmail.com> | 2012-09-18 18:50:26 -0400 |
|---|---|---|
| committer | LukePulverenti Luke Pulverenti luke pulverenti <LukePulverenti Luke Pulverenti luke.pulverenti@gmail.com> | 2012-09-18 18:50:26 -0400 |
| commit | 19e202d5e1e107de9ac9bc110422187b8c6899ce (patch) | |
| tree | de7ce3d5a13a45aa84cd618c92b25be12eb685ff /MediaBrowser.Controller/Drawing/BaseImageProcessor.cs | |
| parent | bd6c2d2a22c099e35fd69816e28b5c46a83176b1 (diff) | |
Added http server support for etags
Diffstat (limited to 'MediaBrowser.Controller/Drawing/BaseImageProcessor.cs')
| -rw-r--r-- | MediaBrowser.Controller/Drawing/BaseImageProcessor.cs | 6 |
1 files changed, 4 insertions, 2 deletions
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;
}
}
|
