The media caching API.

Remarks


- Available since v2.26.

interface Cache {
    network: NetworkInterceptorController;
    status: CacheStatus;
    tasks: CachingTaskList;
    addEventListener<TType>(type, listener): void;
    createTask(source, parameters): CachingTask;
    removeEventListener<TType>(type, listener): void;
}

Hierarchy (view full)

Properties

The cache's network API which allows intercepting requests and responses made by the cache.

status: CacheStatus

The current status of the cache.

List of caching tasks which control the caching of media.

Methods

Generated using TypeDoc