mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-04-21 09:34:44 +01:00
Added http server support for etags
This commit is contained in:
parent
bd6c2d2a22
commit
19e202d5e1
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user