Skip to content

vip cache purge-url

Purge page cache for one or more URLs.

Usage

vip cache purge-url [options]

Options

OptionDescription
-a, --app Target an application. Accepts a string value for the application name or an integer for the application ID.
-d, --debug Generate verbose output during command execution to help identify or fix errors or bugs.
-e, --env Target an environment. Accepts a string value for the environment type.
-f, --from-file Read one or more URLs from a file, each listed on a single line.
-h, --help Retrieve a description, examples, and available options for a (sub)command.
-v, --version Retrieve the version number of VIP-CLI currently installed on the local machine.

Examples

- Purge the page cache for a single URL.
$ vip @example-app.develop cache purge-url https://example-app-develop.go-vip.co/sample-page/

- Purged URL: https://example-app.develop.go-vip.co/sample-page/


- Purge the page cache for multiple URLs, each listed on a single line in a local file.
$ vip @example-app.develop cache purge-url --from-file=./urls.txt

Last updated: November 18, 2024