I’m new to ghost and spent the last few hours reading almost the whole documentation. Most things are clear but I’m wondering if it is possible, to insert all images (and in the best case static template files like css, js as well) from another (absolute) url?
I really would like to use an s3 compatible storage to store all assets. There’s the s3 storage driver for that. But as far as I could see in it’s code it will, for every uncached request, request the file from the object storage (over network) and then deliver it (over network again). What I want is that all assets are stored via the s3 storage driver but are embedded into the pages not by a relative path like content/images/2020… but instead by a custom set domain like https://static.mywebsite.com/content/images… so I can put a CDN in front of the object storage and deliver static assets without having ghost involved. I know that I could instead put cloudflare in front of my whole page and let it deliver all assets but I really would like to use another CDN for the heavy lifting and I would like to seperate the server running ghost from the asset storage.
What I found is https://forum.ghost.org/t/is-there-anyway-to-separate-the-static-files-domain-from-the-html/959 but as I read the source code of the s3 driver I don’t think that just using the driver helps to archieve what I want.
Is there any possibility to accomplish that?
Thanks in advance