DOCUMENT_VIEWER property
final
Disable the cache completely, which is useful for ephemeral applications or applications without a persistent data storage. Using this cache model can have important security implications for your application. All pages are loaded from the server without caching.
Officially Supported Platforms/Implementations:
- Linux WPE WebKit (Official API - WEBKIT_CACHE_MODEL_DOCUMENT_VIEWER)
Implementation
static final DOCUMENT_VIEWER = CacheModel._internalMultiPlatform(0, () {
switch (defaultTargetPlatform) {
case TargetPlatform.linux:
return 0;
default:
break;
}
return null;
});