prefetchPageResources( )

Optimizes resource fetching of pages and lightboxes in the site so they will load faster.

Use the prefetchPageResources() function to optimize resource fetching of pages and lightboxes you think your site visitors are likely to visit next. When the site visitor navigates to those pages or lightboxes, they will load quicker than usual since some of their resources have already been retrieved.

You can only prefetch resources from pages or lightboxes within the current site.

A prefetch is considered successful if the specified pages and lightboxes exist in the current site. If any of the specified pages or lightboxes do not exist, the prefetch operation returns an error status and lists of the pages and lightboxes that were not found.

Method Declaration
Method Parameters

The items within the site to prefetch resources for.

Return Type:PrefetchResult
Was this helpful?