Enumeration
WebKit2CacheModel
unstable since: 4.1
Description [src]
Enum values used for determining the WebKitWebContext
cache model.
Available since: 4.1
Members
WEBKIT_CACHE_MODEL_DOCUMENT_VIEWER
-
Disable the cache completely, which substantially reduces memory usage. Useful for applications that only access a single local file, with no navigation to other pages. No remote resources will be cached.
- Value:
0
- Nickname:
document-viewer
- Available since: 4.1
- Value:
WEBKIT_CACHE_MODEL_WEB_BROWSER
-
Improve document load speed substantially by caching a very large number of resources and previously viewed content.
- Value:
1
- Nickname:
web-browser
- Available since: 4.1
- Value:
WEBKIT_CACHE_MODEL_DOCUMENT_BROWSER
-
A cache model optimized for viewing a series of local files — for example, a documentation viewer or a website designer. WebKit will cache a moderate number of resources.
- Value:
2
- Nickname:
document-browser
- Available since: 4.1
- Value: