---
title: ignoreCache
framework: musickit
role: symbol
role_heading: Type Property
path: musickit/musictokenrequestoptions/ignorecache
---

# ignoreCache

An option that indicates the token provider needs to discard any cached token and generate a new token.

## Declaration

```swift
static let ignoreCache: MusicTokenRequestOptions
```

## Discussion

Discussion You can add the newly generated token to an in-memory or persistent cache for faster access upon subsequent requests for this token.
