Added http server support for etags

This commit is contained in:
LukePulverenti Luke Pulverenti luke pulverenti
2012-09-18 18:50:26 -04:00
parent bd6c2d2a22
commit 19e202d5e1
3 changed files with 38 additions and 3 deletions

View File

@@ -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;
}
}