Adds an entry to this WebBrowser object's cache.
Namespace: Facilita.WebAssembly: clrWebBrowser (in clrWebBrowser.dll) Version: 9.5.7.98 (1.0.0.0)
Syntax
public virtual void AddResponseToCache( CachedResponse response )
Parameters
- response
- Type: Facilita.Web CachedResponse
A CachedResponse representing a URL and appropriate HTTP request headers.
Remarks
Examples
CachedResponse cachedResponse = new CachedResponse("http://myDomain/weather/images/symbols/57x57/3.gif"); cachedResponse.SetHeader("Expires", "Fri, 22 Aug 2008 16:23:24 GMT"); cachedResponse.SetHeader("Last-Modified", "Tue, 18 Mar 2008 11:37:40 GMT"); cachedResponse.SetHeader("ETag", "\"b23-905a6900\""); WebBrowser.AddResponseToCache(cachedResponse);
See Also