Skip to content

alphagov-mirror/cache-clearing-service

 
 

Repository files navigation

Cache Clearing Service

This is a message queue consumer application which clears Fastly and Varnish caches when new content is published.

Technical documentation

Messages are read from the published_documents exchange which carries documents published from all publishing applications.

When the service detects a published document it clears the cache in Fastly and Varnish for that path.

Running the application

$ bin/cache_clearing_service

Running the test suite

$ bundle exec rspec

Licence

MIT Licence

About

Clears various caches when new content is published.

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Ruby 100.0%