alpaylan/afetbilgi.com

Add purge cache action to data generation workflow to get rid of latest.json versioning

ozansz opened this issue · 1 comments

Summary

Current latest.json versioning uses this convention: HH.MMSS. This makes the CDN to fetch the latest.json file from S3 in nearly every site visit and makes the CDN functionless.

Remove this versioning completely and add a Cloudflare Cache Purge action to purge the cache of cdn.afetbilgi.com/latest.json right after the data generation workflow succeeds.

Fixed by #197