diff --git a/backend/internal/video/popularity_cache.go b/backend/internal/video/popularity_cache.go index b3ffaae..eb89a17 100644 --- a/backend/internal/video/popularity_cache.go +++ b/backend/internal/video/popularity_cache.go @@ -15,6 +15,7 @@ func UpdatePopularityCache(ctx context.Context, cache *rediscache.Client, id uin } _ = cache.Del(context.Background(), cache.Key("video:detail:id=%d", id)) + _ = cache.Del(context.Background(), cache.Key("video:entity:%d", id)) now := time.Now().UTC().Truncate(time.Minute) windowKey := cache.Key("hot:video:1m:%s", now.Format("200601021504"))