F
Filament12mo ago
jack5m

Help with filament table too slow

Hello filament community, I deploy my project to production (1GB RAM). My items page too slow include pagination and filter action. My data is only about 50 records but still lagging. I check debugbar queries take about 150ms. I also try fastPagination package and simplePagination but nothing change. Other page i use livewire custom page work well. I found this error always appear when lagging Here is my screen recap: https://www.loom.com/share/b19f4fd32b5541cea44e8e6e652d3c56?sid=53478ef0-57b5-4008-8452-3e041722c894 Can anyone help me?
No description
10 Replies
jack5m
jack5mOP12mo ago
When lagging, i found that nothing change in my url. Example, xxx.com/items?page=2 when next to page 2 if work, but still keep xxx.com/items when lagging. If i enter url, it work well.
awcodes
awcodes12mo ago
What is the total request and render time.? What is slow? The human brain can’t even perceive anything less the 200ms.
jack5m
jack5mOP12mo ago
i mean total request duration take about 150ms. That's shown in debugbar. I dont know what make slow, u can see on video that screen don't change when i next to page 2, 3,.. or change list items per page.
awcodes
awcodes12mo ago
I mean, 150ms is totally acceptable to me. And all I see in your video is a modal opening and closing, so that doesn’t give me any insight to what you are saying the problem is.
jack5m
jack5mOP12mo ago
sorry for misunderstanding video, i try to create other clear video https://www.loom.com/share/6cbc718436a144cf914162dbb90445eb U can see on video that when i change list items per page to 10, debugbar ran but nothing change on view list. I need to refresh to view list (not in video).
jack5m
jack5mOP12mo ago
I found that error appears
No description
Hussain4real
Hussain4real12mo ago
Debugbar is probably the culprit
SD9410
SD941012mo ago
check this video out might solve your problem https://www.youtube.com/watch?v=LGHKjqLAhP4
Filament Daily
YouTube
Filament is Slow? Check Laravel Debugbar.
If you notice that some dynamic elements in Filament are loading slowly, I have a tip for you.
jack5m
jack5mOP12mo ago
@Hussain4real @SD9410 originally I did not have debugbar installed and only installed it later to help diagnose the problem make slowness.
jack5m
jack5mOP12mo ago
i view response from error livewire/update, i found that json response is not valid .
No description
Want results from more Discord servers?
Add your server