Filament App slow in production
I recently deployed a filament app on shared hosting(cpanel) but its very slow (mostly the response time) What could be the issue?
6 Replies
@codeartisan it could be many different things. Have you done any debugging in the browser to inspect which requests are slow? What is the delta from your development environment? Shared hosting can be very resource constrained. I wouldn't really recommend it for a Laravel or Filament app, but one shot in the dark you might try would be: "php artisan icons:cache".
Also bad coding techniques could make an app slow. Is it specifically Filament resource tables or everything?
thank you
And also shared hosting π
Filament Daily
YouTube
Filament Performance: 1M DB Rows - Benchmark
Let's test if Filament is slower with larger amount of data, and discuss the SQL queries under the hood.
Links mentioned in the video:
- Official Filament Demo on GitHub: https://github.com/filamentphp/demo
- SQL dump of the database shown in the video: https://drive.google.com/file/d/1P284fqu8LYmsqPOrnXfYlAIfL1xIENxg/view?usp=sharing
- Filamen...