F
Filamentβ€’3mo ago
hamada14

filamentphp slow

Why is my filamentphp slow for 1.5 seconds in any process I do?
8 Replies
dissto
disstoβ€’3mo ago
Local or in production? When and where? You gotta provide more details than that. See also Improving Filament panel performance
hamada14
hamada14OPβ€’3mo ago
Production
Lara Zeus
Lara Zeusβ€’3mo ago
I bet its icons:cache πŸ™‚
hamada14
hamada14OPβ€’3mo ago
No description
dissto
disstoβ€’3mo ago
Have you run the usual commands like php artisan optimize && php artisan filament:optimize ? Did you enable opcache on your server?
hamada14
hamada14OPβ€’3mo 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 Zeusβ€’3mo 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
awcodesβ€’3mo ago
What is the url of that particular request?
Want results from more Discord servers?
Add your server