Skip to main content

Application: cache-clearing-service

Clears various caches when new content is published.

AWS, on the backend machine class
Rake tasks
Integration, Staging or ⚠️ Production ⚠️


A message queue consumer application which clears Fastly and Varnish caches when new content is published. Messages are read from the published_documents exchange which carries documents published from all publishing applications.

Technical documentation

You can use the GOV.UK Docker environment to run the tests. Follow the usage instructions to get started.

Use GOV.UK Docker to run any commands that follow.

Running the test suite

bundle exec rake


MIT Licence