Currently when upload image at editing, the image was uploaded to repo. This will cause repo size increase after there are many images. I suggest we separate those images from repo, upload to external storage when edit and only keep a reference.
Suggested implimentation
Since we already using Cloudflare worker to host this page, I suggest we continue to use Cloudflare R2 storage for storing images. After edit save, upload image to R2 storage, keep a reference to that uploaded asset, and sever it directly or via worker.
Currently when upload image at editing, the image was uploaded to repo. This will cause repo size increase after there are many images. I suggest we separate those images from repo, upload to external storage when edit and only keep a reference.
Suggested implimentation
Since we already using Cloudflare worker to host this page, I suggest we continue to use Cloudflare R2 storage for storing images. After edit save, upload image to R2 storage, keep a reference to that uploaded asset, and sever it directly or via worker.