Feature Request: Caching Tables #14832
SuperUserDo-Nikola
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, I have an idea that I think could be super useful. I'd like to propose implementing caching for tables. Currently, when I wrap a $table object with the Cache facade, I get an object that cannot be serialized. However, I believe that caching tables could greatly improve performance, especially when dealing with multi-million row datasets.
Would it be possible to implement table caching in the future? If so, what would be the best approach to make it work seamlessly with our current architecture?
Maybe some function that we can chain on $table, like $table->***->cache($key, $time, $callback?)
Beta Was this translation helpful? Give feedback.
All reactions