Skip to content


Caching is vital, the higher the cache HIT percentage, the more effectively resources can be scaled towards application availability.

Skpr uses CloudFront as it's caching layer to provide the best performance for your applications.


Skpr provisions a CloudFront distribution for each environment, allowing for an environment to methodically receive updates eg. dev / staging / prod workflow.

Distrubtions can be configured with the following:

# .skpr/defaults.yaml
  # Which cookies to forward to the application.
   - SESS*
   - SSESS*
  # Which headers to forward and cache by.
   - Accept
   - Authorization
   - CloudFront-Forwarded-Proto
   - Host
   - User-Agent


Developers are able to purge the caches when they feel there are immediate updates which need to be rolled out.

List all purge requests

skpr purge dev

Request to clear all paths

skpr purge dev '/*'

Request to clear specific paths

skpr purge dev '/foo' '/bar'

Deep Dive

Purge requests are handled by the CloudFrontInvalidation Operator