Is there a way to cache table data?
My client likes to load one of our tables with every record visible, which is thousands of rows. I suggested not doing this but it seems like its a must have. Can we cache table data at all? I can't seem to find a way to do so.
5 Replies
No not really, the slowness isn't the queries it's the raw HTML being passed between requests. They need to learn how to search and filter better really. Filamanet v4 will see this type of table 2x+ faster
I think if it is a must have I would do a custom page then render the table there in a more light weight way with just the actions they need etc
It's not much more light weight in a custom page vs a resource tbh.
You would be better using a different product for the table that's not livewire based if it's a need.
Thanks @toeknee and @Dhru
So out of curiosity say I just do an html page inside the admin panel without any livewire that would still be slow because the page itself is a component?
I don’t really understand how laravel works internally. So genuine question.