Interface IHttpCache
- Namespace
- DotNetBrowser.Cache
- Assembly
- DotNetBrowser.dll
An HTTP cache service.
public interface IHttpCache : IAutoDisposable
- Inherited Members
Remarks
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.
Properties
Methods
- 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.
Events
- DiskCacheCleared
Occurs when the disk cache has been cleared.