---
title: WebCacheModel.documentViewer
framework: webkit
role: symbol
role_heading: Case
path: webkit/webcachemodel/documentviewer
---

# WebCacheModel.documentViewer

Releases resources when they are no longer referenced and caches remote resources on disk. This model is appropriate for displaying a static document with no navigation user interface. This is the most memory-efficient model.

## Declaration

```swift
case documentViewer
```

## See Also

### Constants

- [WebCacheModel.documentBrowser](webkit/webcachemodel/documentbrowser.md)
- [WebCacheModel.primaryWebBrowser](webkit/webcachemodel/primarywebbrowser.md)
