Optimizes resource fetching of pages and popups in a site so they'll load faster.
Use the prefetchPageResources() method to optimize resource fetching of pages and
popups a site's visitors are likely to visit next. When a site
visitor navigates to those pages or popups, they'll load quicker than usual
since some of their resources have already been retrieved.
You can only prefetch resources from pages or popups within the current site.
A prefetch is considered successful if the specified pages and popups exist in the current site. If any of the specified pages or popups do not exist, the prefetch operation returns an error status and lists of the pages and popups that were not found.
The items within the site to prefetch resources for.
This method doesn't return any custom errors, but may return standard errors. Learn more about standard Wix errors.