Table of Contents

Interface IApplicationCache

Namespace
AngleSharp.Browser.Dom
Assembly
AngleSharp.dll

Provides a way to cache web resources to improve performance, reduce server loads, and enable access to content when there is no network connectivity.

[DomName("ApplicationCache")]
public interface IApplicationCache : IEventTarget
Inherited Members
Extension Methods

Properties

Status

Gets the status of the application cache.

[DomName("status")]
CacheStatus Status { get; }

Property Value

CacheStatus

Methods

Abort()

Aborts the current action (download / update) of the cache.

[DomName("abort")]
void Abort()

Swap()

Swaps the application's cache.

[DomName("swapCache")]
void Swap()

Update()

Performs an update of the application cache.

[DomName("update")]
void Update()

Events

Cached

Event triggered after the cache has been updated.

[DomName("oncached")]
event DomEventHandler Cached

Event Type

DomEventHandler

Checking

Event triggered when the cache is being checked.

[DomName("onchecking")]
event DomEventHandler Checking

Event Type

DomEventHandler

Downloading

Event triggered when the download started.

[DomName("ondownloading")]
event DomEventHandler Downloading

Event Type

DomEventHandler

Error

Event triggered after an error occurred.

[DomName("onerror")]
event DomEventHandler Error

Event Type

DomEventHandler

NoUpdate

Event triggered after no update is available.

[DomName("onnoupdate")]
event DomEventHandler NoUpdate

Event Type

DomEventHandler

Obsolete

Event triggered after the cache has been marked obsolete.

[DomName("onobsolete")]
event DomEventHandler Obsolete

Event Type

DomEventHandler

Progress

Event triggered after progress.

[DomName("onprogress")]
event DomEventHandler Progress

Event Type

DomEventHandler

UpdateReady

Event triggered after an update is ready to be applied.

[DomName("onupdateready")]
event DomEventHandler UpdateReady

Event Type

DomEventHandler