IHttpCache Interface |
Namespace: DotNetBrowser.Cache
public interface IHttpCache : IAutoDisposable
The IHttpCache type exposes the following members.
| Name | Description | |
|---|---|---|
| Engine |
The IEngine instance associated with this object.
| |
| IsDisposed |
Indicates if the object is already disposed.
(Inherited from IAutoDisposable.) |
| Name | Description | |
|---|---|---|
| ClearDiskCache |
Marks all entries in the disk cache for deletion. The deletion of the entries is performed asynchronously by the
Chromium engine itself.
|
| 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.