LoaderCachingPolicy

Packages > @fluidframework/driver-definitions > LoaderCachingPolicy

This API is provided for existing users, but is not recommended for new users.

To use, import via @fluidframework/driver-definitions/legacy.

For more information about our API support guarantees, see here .

Signature

export declare enum LoaderCachingPolicy

Flags

Flag Alerts Description
NoCaching Alpha The loader should not implement any prefetching or caching policy.
Prefetch Alpha The loader should implement prefetching policy, i.e. it should prefetch resources from the latest snapshot.

NoCaching

The loader should not implement any prefetching or caching policy.

This API is provided as an alpha preview and may change without notice.

To use, import via @fluidframework/driver-definitions/alpha.

For more information about our API support guarantees, see here .

Signature

NoCaching = 0

Prefetch

The loader should implement prefetching policy, i.e. it should prefetch resources from the latest snapshot.

This API is provided as an alpha preview and may change without notice.

To use, import via @fluidframework/driver-definitions/alpha.

For more information about our API support guarantees, see here .

Signature

Prefetch = 1