Zum Inhalt springen
← Zurück zu den Projekten

Filament Page Cache

Version: v3 v4 v5 · branch: 3.x

Filament Page Cache

#Filament Page Cache

Buy Me A Coffee

Latest Version on Packagist GitHub Code Style Action Status Total Downloads License

A Filament page to watch and control the full-page cache of jeffersongoncalves/laravel-page-cache — no terminal, no deploy:

  • Status, hit ratio, lifetime and last flush at a glance (live, the stats poll)
  • Flush everything after a content change
  • Forget one URL: every cached variant of a path (locales, themes, query strings) is rebuilt on its next visit
  • Pause / resume the cache while you debug a page

#Compatibility

Branch Filament Package version
1.x 3.x ^1.0
2.x 4.x ^2.0
3.x 5.x ^3.0

#Installation

composer require jeffersongoncalves/filament-page-cache:"^3.0"

Set up laravel-page-cache first (the CachePublicPage middleware on your public routes). Hits and misses are counted while page-cache.stats is on (default).

#Usage

use JeffersonGoncalves\Filament\PageCache\PageCachePlugin;

public function panel(Panel $panel): Panel
{
    return $panel
        ->plugins([
            PageCachePlugin::make(),
        ]);
}

The plugin adds a Page cache page to the panel's Settings group. Register it only on panels whose users may flush the cache.

#Requirements

#Changelog

Please see CHANGELOG for more information on what has changed recently.

#Contributing

Please see CONTRIBUTING for details.

#Security Vulnerabilities

Please review our security policy on how to report security vulnerabilities.

#Credits

#License

The MIT License (MIT). Please see License File for more information.

Neue Version verfügbar.