The sticky header will contain a search button that triggers the Vue.js-based search experience.
It will be built via Mustache templates.
When a user clicks the search icon inside the sticky header, it loads WVUI and the search experience. We would like to minimize the load time for the search to appear as it's a bad user experience.
We would therefore like to understand what is the best way to preload Vue.js and WVUI.
Questions to answer
- Can we load WVUI and Vue.js on scroll?
- If not, under what conditions would that be acceptable
- What performance metrics need to be added?
- Anything else we should be aware of.
(The performance team would be the people to ask these questions)