mirror of
https://github.com/lampame/lampac-ukraine.git
synced 2026-06-17 12:08:54 +00:00
chore(uaflix): bump cache keys for episode and season structures
This commit is contained in:
parent
f33ffdd930
commit
9a6fe0ab7c
@ -291,7 +291,8 @@ namespace LME.Uaflix
|
|||||||
if (string.IsNullOrWhiteSpace(pageUrl))
|
if (string.IsNullOrWhiteSpace(pageUrl))
|
||||||
return null;
|
return null;
|
||||||
|
|
||||||
string memKey = $"lme_uaflix:episode-player:{pageUrl}";
|
// v2 — зміна кеш-ключа для інвалідації старих даних без ZetvideoIframeUrls
|
||||||
|
string memKey = $"lme_uaflix:episode-player-v2:{pageUrl}";
|
||||||
if (_hybridCache.TryGetValue(memKey, out EpisodePlayerInfo cached))
|
if (_hybridCache.TryGetValue(memKey, out EpisodePlayerInfo cached))
|
||||||
return cached;
|
return cached;
|
||||||
|
|
||||||
@ -1099,7 +1100,8 @@ namespace LME.Uaflix
|
|||||||
if (season < 0)
|
if (season < 0)
|
||||||
return null;
|
return null;
|
||||||
|
|
||||||
string memKey = $"lme_uaflix:season-structure:{serialUrl}:{season}";
|
// v2 — зміна кеш-ключа для інвалідації старих структур без multi-voice
|
||||||
|
string memKey = $"lme_uaflix:season-structure-v2:{serialUrl}:{season}";
|
||||||
if (_hybridCache.TryGetValue(memKey, out SerialAggregatedStructure cached))
|
if (_hybridCache.TryGetValue(memKey, out SerialAggregatedStructure cached))
|
||||||
{
|
{
|
||||||
_onLog($"GetSeasonStructure: Using cached structure for season={season}, url={serialUrl}");
|
_onLog($"GetSeasonStructure: Using cached structure for season={season}, url={serialUrl}");
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user