Hacker News new | ask | show | jobs
by Ennergizer 1498 days ago
Sometimes purges take way longer, like 15 minutes and you have no idea when the purge was completed to allow sending new traffic to that destination to get the new data. One good option is to add purge status via API (and probably on the purge page with a list of recent purges) to know when that purge request has been completed. For example sending a purge request would provide a purge token, which you can later use to check if the purge has completed.