I’m in the middle of moving flamedfury.com from GitHub to a Forgejo instance that has a 500 MB per-repo limit, and I’ve hit a wall with images.
Right now, my repo contains both the original source images and all of the optimised variants generated during the Eleventy build. Together they’re sitting at around 800 MB, which obviously isn’t going to fly in Forgejo. So I’m looking to shift image delivery completely out of the repo and onto Bunny.net, while keeping the Git repo code-only.
Where I’m getting stuck is understanding what people’s actual looks like when Bunny storage is separate from the web server.
If you’re using an SSG (bonus points for 11ty), are you still generating responsive images locally during the build and pushing the generated files to Bunny during your deploy, with the final HTML pointing to something like cdn.flamedfury.com? Or have you moved that responsibility entirely to Bunny Optimiser and let it handle resizing, format conversion, and quality on the fly?
I’m also unsure what people are doing with their source images. Do you still keep originals in the repo, store them in Bunny and treat that as the source of truth, or pull them in during the build from somewhere else?
The other piece I’m trying to think through is cache invalidation. If an image is replaced, are you relying on hashed filenames from your SSG, Bunny versioning, or another approach?
My main goals are to keep the repo comfortably under the 500 MB limit, maintain a sane, reasonably fast CI/build process, and ideally not lose the benefits of Eleventy’s image pipeline if it still makes sense to use it.
I expect I could move building the site again with an equivalent to whatever an action is on Forgejo if it doesn’t have to process thousands of images and get the build times down to sub-1 minute.
I’d really like to hear how people have structured this in practice rather than the high-level “just use a CDN” answer.