:right-sidebar: True CacheModel =================================================================== .. currentmodule:: gi.repository.WebKit .. class:: CacheModel :no-contents-entry: Enum values used for determining the :obj:`~gi.repository.WebKit.WebContext` cache model. Fields ------ .. rst-class:: interim-class .. class:: CacheModel :no-index: .. attribute:: 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. .. attribute:: 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. .. attribute:: WEB_BROWSER Improve document load speed substantially by caching a very large number of resources and previously viewed content.