mohammedjalal99/filament-cache-plugin
Cache facade and Filament’s event system for seamless integration.Cacheable, CacheableModel) for granular control over cached entities, allowing TPMs to extend caching logic for domain-specific needs.Saved event), but complex workflows (e.g., soft deletes, bulk operations) may need manual overrides.Cache facade) remains reusable.Cache::put(), query caching).cache_enabled: false in config.filament-cache-plugin config.CacheableModel traits for complex models).composer.json constraints).php artisan vendor:publish --provider="MohammedJalal99\FilamentCachePlugin\FilamentCachePluginServiceProvider").@cacheable).Saved event listeners for invalidation logic.| Failure Scenario | Impact | Mitigation |
|---|---|---|
| Cache backend downtime | Stale or missing UI data | Fallback to file cache or disable caching. |
| Race condition in invalidation | Inconsistent data between users | Use database transactions for critical writes. |
| Over-aggressive caching | UI feels "laggy" due to stale data | Short TTLs + manual invalidation for sensitive data. |
| Plugin conflicts with Filament | Broken admin panels | Test in staging; isolate custom Filament logic. |
Cache::stats()).How can I help you explore Laravel packages today?