Cloudflare Worker for serving Cloudflare Images over a custom domain and utilising the Cache API.
Under Settings > Variables create the following
CF_IMAGES_ACCOUNT_HASH
= Your Cloudflare Images account hashIMAGES_PATH
= The path on the domain you wish to serve images for. If you are serving images fromhttps://mydomain.com/assets/images/myimage.jpg
enter/assets/images/
.