Purge all static files

Modified on Tue, 05 Dec 2023 at 11:39 AM

From the dashboard

You can purge all static files on the Cache Purge page  :

You can purge all the static files on the "Flush cache" pop-up.

Select the "Purge only Assets files" option and confirm by clicking "Flush".

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 .

# Vider le cache pour les ressources statiques

curl -i -H 'Content-Type: application/json' -H "Authorization: $myApiToken" -X POST -d '{"tag" : "asset"}' https://api.fasterize.com/v2/configs/$config_id/cache/purge/tags

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select atleast one of the reasons

Feedback sent

We appreciate your effort and will try to fix the article