• Hey Guest, don't forget to VOTE on each RFC topic. Your voting determine Chevereto development! No votes, no development.
  • Welcome to the Chevereto user community!

    Here users from all over the world gather around to learn the latest about Chevereto and contribute with ideas to improve the software.

    Please keep in mind:

    • 😌 This community is user driven. Be polite with other users.
    • 👉 Is required to purchase a Chevereto license to participate in this community (doesn't apply to Pre-sales).
    • 💸 Purchase a Pro Subscription to get access to active software support and faster ticket response times.

Auto clear CloudFlare cache when an Image gets deleted


I made a cron in PHP that does this job.

Cloudflare's purge directly depends on what your url looks like, in my case it's an example: https://s1.domain.com/Akd3X.jpg
That is, with the name of the encoded image.

Within my script I had to place a function to encode the image because the deleted image table does not have its code encoded.

I quickly made this script a while ago, it doesn't follow any good programming practices.

This script is not plug and play in the variables, each case must be analyzed, I recommend knowledge of PHP to be able to implement it.