What is content-cache?
This service was developed to provide front-end caching for web sites run by Canonical’s IS team, and to reduce the need for third-party CDNs by providing high-bandwidth access to web sites via this caching front-end. Currently used for a number of services including the Snap Store, the majority of Canonical’s web properties including ubuntu.com and canonical.com, and Ubuntu Extended Security Maintenance.
Wipe our content-cache
If you need to wipe out the cache for one of our services:
- Connect to the Canonical VPN
- SSH to wendigo:
If you don’t have access or you never did it, it’s possible that IS has to create an account for you.
- Once you are logged run:
sudo -i -u stg-comms-ubuntu-com
- Wipe the website cache with:
site=ubuntu.com; for i in $(dig a +short $site); do ssh -i ~/.ssh/content-cache-purge content-cache-purge@$i $site; done
* We are working with IS on a better way of cleaning the cache by running a Jenkins’ job.