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
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
Checking
Event triggered when the cache is being checked.
[DomName("onchecking")]
event DomEventHandler Checking
Event Type
Downloading
Event triggered when the download started.
[DomName("ondownloading")]
event DomEventHandler Downloading
Event Type
Error
Event triggered after an error occurred.
[DomName("onerror")]
event DomEventHandler Error
Event Type
NoUpdate
Event triggered after no update is available.
[DomName("onnoupdate")]
event DomEventHandler NoUpdate
Event Type
Obsolete
Event triggered after the cache has been marked obsolete.
[DomName("onobsolete")]
event DomEventHandler Obsolete
Event Type
Progress
Event triggered after progress.
[DomName("onprogress")]
event DomEventHandler Progress
Event Type
UpdateReady
Event triggered after an update is ready to be applied.
[DomName("onupdateready")]
event DomEventHandler UpdateReady