Skip to content

CDN Cache Purging

Skpr provides all environments with an isolated CDN instance for caching.

Development teams require the ability to purge these caches when:

  • Deploying a new version of an application eg. New theming elements which need to be updated immediately.
  • Debugging edge caching issues

Skpr provides development teams with a command for creating and listing these purge interactions.

Usage

$ skpr purge create dev /path/to/purge/1 /path/to/purge/2 /path/to/purge/3/*
Invalidation submitted: I2NZP1MOBL8G8C

More Information

# skpr purge create --help
usage: skpr purge create [<environment>] [<paths>...]

Create a request to purge the CDN cache on a path(s).

Flags:
  --help  Show context-sensitive help (also try --help-long and --help-man).

Args:
  [<environment>]  Environment to fetch information for.
  [<paths>]        A list of paths to purge

What's next?

After creating a purge request, consider one of the following:

Back to top