info('Clearing SSR FPC caches...'); try { // Get all keys matching the SSR FPC pattern $keys = Redis::keys('ssr_fpc:*'); if (empty($keys)) { $this->info('No SSR FPC cache entries found.'); return 0; } // Delete all FPC cache keys $deleted = Redis::del($keys); $this->info("✅ Cleared {$deleted} SSR FPC cache entries"); return 0; } catch (\Exception $e) { $this->error('❌ Failed to clear SSR FPC caches: ' . $e->getMessage()); return 1; } } }