genesis icon indicating copy to clipboard operation
genesis copied to clipboard

Heard + Genesis extremely slow

Open mikemastercorp opened this issue 1 year ago • 2 comments

Hello Team.

I was super glad to find another project of the dojo to help me with a quick setup of TALL+F+V and I've quickly got the repo, setup the project in my Laravel Herd Premium and set it all up. As promised it started working and I was glad that the setup went painlessly.

However when loading any of the views, I must say it takes around 20-30 seconds before the page is shown and the tests were ran on a 12th gen Intel i7 CPU + 64GB Ram and Nvidia A3000 GPU where any other projects I ran with the same Herd usually took less than 1-2 sec to load.

Tried to check for some logs to figure out where this lag can come up but so far no clue. Any ideas or suggestions what could be going wrong as this PC has no other apps running besides my PHPStorm and is destined solely for my work...

Thanks anyway for the great package, I will still use it once I figure out what is happening...

mikemastercorp avatar Aug 11 '24 14:08 mikemastercorp

Have you checked debug bar? There's likely something else going on.

https://github.com/barryvdh/laravel-debugbar

kriiv avatar Sep 02 '24 09:09 kriiv

I have the exact same issue. Installed Laravel Debug Bar and can't figure it out.

At the moment it's not usable. I'm on Windows 11 and all other Laravel apps run fine.

ikx94 avatar Sep 09 '24 19:09 ikx94

We've experienced this issue with a few other users. They were able to resolve it by running:

php artisan optimize

Please, run that and let us know. Closing for now, but feel free to open if it's still not working ;) Thanks!

tnylea avatar Nov 01 '24 16:11 tnylea

In case that anyone hits this in the future, in addition to the php artisan optimize command, also try php artisan filament:optimize.

And as per the discussion here: https://github.com/blade-ui-kit/blade-icons/issues/71#issuecomment-1810493388, add the following middleware to your Laravel app:

protected $middleware = [
    ...
    \Filament\Http\Middleware\DisableBladeIconComponents::class
];

bobbyiliev avatar Nov 07 '24 09:11 bobbyiliev