Adds a Content-Type for which cached content is not stored.
Namespace: Facilita.WebAssembly: clrWebBrowser (in clrWebBrowser.dll) Version: 9.5.8.37 (1.0.0.0)
Syntax
Parameters
- contentType
- Type: System String
The Content-Type to exclude e.g. "text/xml", "application/pdf".
Remarks
![]() |
---|
There is a performance overhead incurred by storing resources in the cache. |
![]() |
---|
Resources are still cached, in that they will not be requested again from the web server once they have been downloaded; it is just the data that is discarded. |
Examples
// do not store the content of "application/pdf" Content-Types WebBrowser.ExcludeContentTypeFromCache("application/pdf");
See Also