IHttpCache Interface |
Namespace: DotNetBrowser.Cache
public interface IHttpCache : IAutoDisposable
The IHttpCache type exposes the following members.
Name | Description | |
---|---|---|
Engine |
Gets the IEngine instance associated with this object.
| |
IsDisposed |
Indicates if the object is already disposed.
(Inherited from IAutoDisposable.) | |
Profile |
Gets the IProfile instance associated with this object.
|
Name | Description | |
---|---|---|
Clear |
Marks all the cache entries for deletion. The deletion of the entries is performed asynchronously by the
Chromium engine itself. If the engine is closed during this task executing - the operation will be canceled.
| |
ClearDiskCache | Obsolete.
Marks all entries in the disk cache for deletion. The deletion of the entries is performed asynchronously by the
Chromium engine itself.
This method is obsolete with version 2.2 and above.
Use Clear instead.
|
Name | Description | |
---|---|---|
DiskCacheCleared |
Occurs when the disk cache has been cleared.
| |
Disposed |
Occurs when the object has been disposed.
(Inherited from IAutoDisposable.) |
By default, HTTP cache stores the resources fetched from the web on a disk or in the memory. Chromium itself decides how to cache the resources for optimal performance.
The memory cache stores and loads the resources to and from the process memory (RAM). It is a fast, but non-persistent way.
The disk cache is persistent. The cached resources are stored and loaded to and from the disk. The disk cache is stored in the HttpCache folder in the User Data directory.