Can y’all at skuid please produce a deep dive on page caching?? I have lots of questions about how things work that aren’t covered in the documentation.
Our scenario:
We have a data-analysis heavy app built with skuid. As we’re rolling out, on-boarding new clients to our multi-tenant environment, things are getting SLOW.
When I’ve completely turned on page caching in the past, things got funky, data didn’t show up, or wrong data showed up.
So, I’m started trying to incorporate page caching bit by bit, turn it on a page at a time. That doesn’t seem to be possible when there’s a master page. Caching seems to work like a theme, whatever is setup on the master page trickles down. This is obvious on child pages where you can’t select caching, but I can turn on page caching on a non-child page, only it doesn’t seem to change anything when the page loads within the context of the master page. Does caching options on a master page affect all pages loaded within that context, even non-child page includes?
When I do turn it on on the master page, it seems to turn it on everywhere, but not page includes. BUT if I allow all the models to go client-side, things start going wonky. Sharing rules seem to break with clients seeing each others’ data, or data doesn’t load at all. It also doesn’t seem to speed anything up. It seems there are issues with the order in which models load changing, but I don’t really know what’s happening. Is it possible model load order changes when you turn on client-side processing? What happens when a page include processes models server-side within a master page context where models are processed client-side?
Right now I’m testing page caching at the master level, without processing models client side. I know this isn’t recommended since it can present stale data. But this actually seems to make things faster, and so far nothing is breaking. I’m trying to test the stale data issue, but i’m not able to produce any errors there. How and why does page-caching without processing models client side result in stale data? What are some examples?
Question
How does page caching work where master pages and page includes are involved?

Translate
This topic has been closed for comments
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.