Preload page include for UX

Pat VachonPat Vachon ✭✭
edited June 25 in Ideas
I've been making a push to polish my org like crazy. In an effort to limit the number of pages, models and components, I've been leveraging the page include component a whole lot.

What I'd like to do is pre load Skuid pages used in any page includes. Specifically in locations such as drawers, popups and panels. This way it would behave like it was built as part of the page and instantly open. Otherwise, the page include component needs to query Salesforce for the Skuid Page and thus wait to load.
Tagged:
3
3 votes

Awaiting Review · Last Updated

Comments

  • Matt SonesMatt Sones ✭✭
    edited June 25
    Interesting idea. So you take a hit on overall page load time at the beginning, but you only load a page once...
  • Pat VachonPat Vachon ✭✭
    edited May 2017
    No. Page includes do not delay main page load. They start only once the main page has completed loading.
  • Matt SonesMatt Sones ✭✭
    edited May 2017
    ah, nice. So The idea is that all the includes would just load in the background after the main page has loaded and then would be available immediately when asked for...

    I like it!
  • Pat VachonPat Vachon ✭✭
    edited May 2017
    The record of the Skuid Page. Not its models, components and such.
  • edited June 2017
    +1 on this idea!
  • Pat VachonPat Vachon ✭✭
    edited June 25
    ^^^ bump ^^^
  • Anna WiersemaAnna Wiersema 🛠️ 
    edited February 25
    A note - if you are able to use master-child (or even master-child-grandchild) pages, then the pages are all loaded at once on page load, which saves you from the staggered page load.

    Sometimes it really does make more sense to use page includes, but if the specs permit, master-child pages can deliver the seamless page load you're looking for.
Sign In or Register to comment.