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
any help i have large db
1 Reply
What do you want to cache in this case? I don't think there is much sense in caching stuff from the tables