Did you know, with Filament you can enable SPA mode for your panel.
You need to add ->spa()
in your PanelProvider.
<?php
class AdminPanelProvider extends PanelProvider
{
public function panel(Panel $panel): Panel
{
return $panel
->default()
->id('admin')
->spa()
// ...
}
}
In SPA mode, you visit the any page, Filament will cache the assets. So next time when you visit the page asset will load from the cache.
and there you go!..
Top comments (1)
Excelente