---
title: assetCache
framework: avfoundation
role: symbol
role_heading: Instance Property
path: avfoundation/avurlasset/assetcache
---

# assetCache

The asset’s associated asset cache, if it exists.

## Declaration

```swift
var assetCache: AVAssetCache? { get }
```

## Discussion

Discussion This property provides access to an instance of AVAssetCache to use for inspection of locally cached media data. The value of this property is nil if you haven’t configured the asset to store or access media data from disk.
