A machine-readable guide to this site for AI agents and language models is available at/llms.txt(https://dev.acquia.com/llms.txt on the production site).
Manually purging all caches or individual objects from Platform CDN
Important Note: These instructions clear content from Platform CDN only. In order to replace it with fresh content, ensure that the content has also been purged from Acquia Varnish first.
First step: Retrieve the service_id and token
Run the following commands to SSH into your environment and use Drush to retrieve the service_id and token:
Second step: Purge Platform CDN Purge Platform CDN by running one of following curl commands with the token in the header and the service_id in the URL path as shown in the following example:
Purge whole domain
curl -X POST -H "Fastly-Key:<Platform CDN Token>" -H "Accept: application/json" https://api.fastly.com/service/<Platform CDN Service ID>/purge/[DOMAIN]
Purge by tag
curl -X POST -H "Fastly-Key:<Platform CDN Token>" -H "Accept: application/json" https://api.fastly.com/service/<Platform CDN Service ID>/purge/[TAG]
Purge everything
curl -X POST -H "Fastly-Key:<Platform CDN Token>" -H "Accept: application/json" https://api.fastly.com/service/<Platform CDN Service ID>/purge_all
For example:
curl -X POST -H "Fastly-Key:NFA6ZgZaQfC1u1117WJuu3cVbf0ChlDY" -H "Accept: application/json" https://api.fastly.com/service/1MFG0lmpFvMCoiziPbKLBB/purge_all
Before manually purging the Platform CDN cache, purge your Varnish cache to ensure cache consistency. For more information, visit Varnish: Bypassing the cache.