How will you handle a complex web page where you have to display one user account with a lot of relationships (15+)
Translation data is stored in separate tables (globalize2 / 3), so requests are increased to 30+.
Put the ACL and some entries and you will get 45+ requests sometimes 65+
I do not want to split the page on multiple screens, all data is required on one screen.
Currently, I have preloaded all the relational tables for the user in a global variable in Rails, and it works fine, except that it is difficult to maintain a cache with all synchronization and translation data.
I tried memcached, but it was slow because every object needs to be serialized / de-serialized for every request.
What is the best way to handle such pages?
source
share