Hello caching for dashbord filamentphp

How we can setup caching for query for make best performance in dashboard

public static function getEloquentQuery(): Builder
{
return parent::getEloquentQuery()
->withoutGlobalScopes([
SoftDeletingScope::class,
]);
}

this function can update it to support the cache but annotation must to be Builder

any help i have large db
Was this page helpful?