Defer the table row actions rendering?

Hi there! I built a Resource table with ~ 200 rows. Displaying this page takes about 7000ms. I first thought about an N+1 issue but not! The issue comes from the table rows actions, disabling them makes the page load decrease to ~ 2000ms which is in our case acceptable. I do need these actions on each table rows but it's hard to deal with this kind of load time. Is there any chance that I can defer the actions component rendering?
No description
No description
2 Replies
toeknee
toeknee3w ago
Please provide a copy of your table ->actions() also with debug bar enabled, you should disable view collection as that will add a huge amount of overhead/slowdown.

Did you find this page helpful?