---
title: WebCacheModel
framework: webkit
role: symbol
role_heading: Enumeration
path: webkit/webcachemodel
---

# WebCacheModel

Specifies the caching model for a web view.

## Declaration

```swift
enum WebCacheModel
```

## Topics

### Constants

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

### Initializers

- [init(rawValue:)](webkit/webcachemodel/init(rawvalue:).md)

## Relationships

### Conforms To

- [BitwiseCopyable](swift/bitwisecopyable.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [RawRepresentable](swift/rawrepresentable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)
