Reply to
I do something vaguely similar with my media endpoint, except I use a server that I rent out from from kimsufi, where I also host my webmention and micropub endpoints. But...does it ever bother you to split your content like this? I use a static site generator, and one of the nice things about this is that your entire site can be generated from the contents of your local folder. When part of your content (your photos) live somewhere else (a media server, or a CDN, or whatever), that's no longer the case. This bothers me somewhat, though I don't lose any sleep over it. I don't really have a good answer for it.
Mar 6, 2020, 5:58 AM -05:00I use BunnyCDN as storage for my Micropub media endpoint, where I upload all the photos and other media files I publish on my blog. When I upload a new photo the media endpoint first uploads the original file with the name of it’s SHA-256 hash value (so when I upload the same file multiple times, it doesn’t create multiple files). When I upload an image (JPEG or PNG) it also gets optimized and resized to a maximum width of 2000 pixels using the Tinify API (and then uploaded to BunnyCDN too), ...
Post a Comment