F
Filament10mo ago
Anam

How to speedup livewire update response on edit page relation manager?

I have edit page with 2 relation manager, and every change tab between 2 relation manager, the speed very slow. I try to test on the demo here https://demo.filamentphp.com/shop/customers/2/edit, the speed is fast, i check the livewire update on networks browser, the size request is small just 7Kb, but if i check the size on the result
effects->html
effects->html
, size is 48Kb. How to do that?
7 Replies
awcodes
awcodes10mo ago
Sounds like your query or relationship isn’t set up correctly. Or you’re not indexing your tables appropriately.
Anam
Anam10mo ago
i have indexing the tables
Anam
Anam10mo ago
Transferred only 5.8 kB and resource size is 46.2 kB
Anam
Anam10mo ago
this is from my website
No description
Anam
Anam10mo ago
Transferred is 80.8 kB and resource size is 79.8 kB very difference from the demo
awcodes
awcodes10mo ago
well, you could be transferring more data. as for the speed, you could even have an n+1 problem in the relationship. you can't really compare your app performance to the demo.
Want results from more Discord servers?
Add your server
More Posts