From the dashboard


You can purge all the resources in a directory on the "Flush cache" pop-up window.

Select the "Purge asset directories" option and confirm by clicking on "Flush".


All resources with URLs matching the directories will be purged from the cache. Purging is limited to 30 URLs.




From the API

To clear the cache of all or specific resources via the API, please contact our support team to obtain the API token. Make sure you also have the configuration ID, which you can find in the dashboard URL of your configuration. For example, if the URL is https://dashboard.fasterize.com/feo/projects/64/configuration/1, the configuration ID is 1.


Information for the full purge can be found on the API documentation .

curl -i -H 'Content-Type: application/json' -H "Authorization: $myApiToken" -X POST -d '{"directories" : ["https://www.domain.com/wp-content"
]}' https://api.fasterize.com/v2/configs/$config_id/cache/purge/directories