From d2422dd19afe44f24872041325075064e5a3b30a Mon Sep 17 00:00:00 2001 From: Davo Hynds Date: Mon, 29 Jan 2024 13:18:33 -0600 Subject: [PATCH 1/2] Don't suggest cache tags for redis --- upgrade.md | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/upgrade.md b/upgrade.md index 8a46952f059..ff050bf800d 100644 --- a/upgrade.md +++ b/upgrade.md @@ -130,11 +130,7 @@ The `registerPolicies` method of the `AuthServiceProvider` is now invoked automa **Likelihood Of Impact: Medium** -Redis [cache tag](/docs/{{version}}/cache#cache-tags) support has been rewritten for better performance and storage efficiency. In previous releases of Laravel, stale cache tags would accumulate in the cache when using Redis as your application's cache driver. - -However, to properly prune stale cache tag entries, Laravel's new `cache:prune-stale-tags` Artisan command should be [scheduled](/docs/{{version}}/scheduling) in your application's `App\Console\Kernel` class: - - $schedule->command('cache:prune-stale-tags')->hourly(); +Usage of `Cache::tags()` is only recommended for Memcached. If you are using Redis as your application's cache driver, you should consider moving to Memcached or using an alternative solution. ### Database From 0d49c5e4c907693f619af2869485baacb699ea59 Mon Sep 17 00:00:00 2001 From: Taylor Otwell Date: Thu, 1 Feb 2024 12:40:24 -0600 Subject: [PATCH 2/2] Update upgrade.md --- upgrade.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/upgrade.md b/upgrade.md index ff050bf800d..c615a88dadd 100644 --- a/upgrade.md +++ b/upgrade.md @@ -130,7 +130,7 @@ The `registerPolicies` method of the `AuthServiceProvider` is now invoked automa **Likelihood Of Impact: Medium** -Usage of `Cache::tags()` is only recommended for Memcached. If you are using Redis as your application's cache driver, you should consider moving to Memcached or using an alternative solution. +Usage of `Cache::tags()` is only recommended for applications using Memcached. If you are using Redis as your application's cache driver, you should consider moving to Memcached or using an alternative solution. ### Database