mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-08-03 22:37:07 +00:00
removed local trailers and special features from memory
This commit is contained in:
parent
a0dfbdfd70
commit
fbd052abfc
22 changed files with 331 additions and 393 deletions
|
|
@ -136,7 +136,7 @@ namespace MediaBrowser.Common.Implementations.HttpClientManager
|
|||
{
|
||||
var now = DateTime.UtcNow;
|
||||
|
||||
var isCacheValid = (!cachedInfo.MustRevalidate && !string.IsNullOrEmpty(cachedInfo.Etag) && (now - cachedInfo.RequestDate).TotalDays < 14)
|
||||
var isCacheValid = (!cachedInfo.MustRevalidate && !string.IsNullOrEmpty(cachedInfo.Etag) && (now - cachedInfo.RequestDate).TotalDays < 7)
|
||||
|| (cachedInfo.Expires.HasValue && cachedInfo.Expires.Value > now);
|
||||
|
||||
if (isCacheValid)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue