WebKitCacheModel

Enum values used for determining the #WebKitWebContext cache model.

Values

ValueMeaning
DOCUMENT_VIEWER0

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.

WEB_BROWSER1

Improve document load speed substantially by caching a very large number of resources and previously viewed content.

DOCUMENT_BROWSER2

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.

Meta