How to prefetch Plasmic components when we're dynamically choosing which to render?

We’re dynamically placing Plasmic components based on a value in a fetcher. All the components that are inside the fetcher are loading as expected, on build they’re snappy. But that one component doesn’t seem to cache. It takes a few seconds for it to show on first load. What is the best way to cache it so it loads faster when needed on the page? I’m using a component name to load it (which is being provided by the fetcher)

This is what I’m shown in the browser console:

Plasmic: fetching missing components in the browser: ComponentName

You can add the component name to the list of components you fetch via PLASMIC.fetchComponentData() in getStaticProps

@chungwu That does it. Thank you!