vercel cache

The vercel cache command is used to manage the cache for your project, such as CDN cache and Data cache.

terminal
vercel cache purge

Using the vercel cache purge command to purge the CDN cache and Data cache.

terminal
vercel cache purge --type=cdn

Using the vercel cache purge --type=cdn command to purge the CDN cache.

terminal
vercel cache purge --type=data

Using the vercel cache purge --type=data command to purge the Data cache.

These are options that only apply to the vercel cache command.

The --yes option can be used to bypass the confirmation prompt when purging the cache.

terminal
vercel cache purge --yes

Using the vercel cache purge command with the --yes option.

The following global options can be passed when using the vercel cache command:

For more information on global options and their usage, refer to the options section.

Last updated on June 25, 2025