prefetch
Table of Contents

prefetch🔗

prefetch(url?: string , prefetchFeatures?: PrefetchFeatures[] , additionalFlags?: {[key: string ] : string | number | boolean} ) : void

Prefetches static resources from the specified URL. Web browsers can then cache the prefetched resources and serve them from the user’s local disk to provide faster access to your app.

Function Parameters

url

Optional

  • url: string

The URL provided for prefetch

prefetchFeatures

Optional

Specify features which needs to be prefetched.

additionalFlags

Optional

  • additionalFlags: {[key: string ] : string | number | boolean}

This can be used to add any URL flag.

Index Signature Parameters

Returns

void

Version : SDK: 1.4.0 | ThoughtSpot: ts7.sep.cl, 7.2.1

Defined in : embed/base.ts