filamentphp slow

Why is my filamentphp slow for 1.5 seconds in any process I do?
8 Replies
dissto
dissto4mo ago
Local or in production? When and where? You gotta provide more details than that. See also Improving Filament panel performance
hamada14
hamada14OP4mo ago
Production
Lara Zeus
Lara Zeus4mo ago
I bet its icons:cache 🙂
hamada14
hamada14OP4mo ago
No description
dissto
dissto4mo ago
Have you run the usual commands like php artisan optimize && php artisan filament:optimize ? Did you enable opcache on your server?
hamada14
hamada14OP4mo ago
Yes Route::get('/cachefonction', function () { Artisan::call('icons:cache'); echo "Cache cleared successfully.<br>"; }); The command "icons:cache" does not exist.
Lara Zeus
Lara Zeus4mo ago
check this https://discord.com/channels/883083792112300104/1289943241004683378/1290027740841513001 just wondering why not running this from the command line like ssh into the server and run it directly?
awcodes
awcodes4mo ago
What is the url of that particular request?

Did you find this page helpful?