Filament Production perfomance issue
Hello everyone.
Locally I have dockerized Laravel Filament Application, with perfomance no issues, because my machine is: Macbook Pro 13 M1 cpu 16gb and 500gb SSD disk.
When I publish my dockerized application to linux server with 2vcpu core and 4gb RAM, I get slow loading from server response time (on resources index page), if I go to show resource page I do not see these issue.
What I can do?
On production:
I have nginx proxy server to my dockerized image with application. In docker I have nginx + phpfpm and redis server.
On production I run this commands:
composer install --optimize-autoloader --no-dev
php artisan optimize
php artisan filament:optimize
Laravel DebugBar is false on production.
With Database Query responses I have time execution max: 60ms2 Replies
I tried enable debugbar on production, and I have like so situation of one resource
try running
php artisan icons:cache
also check:
https://filamentphp.com/docs/3.x/panels/installation#improving-filament-panel-performance