joseph-flinn / site

0 stars 0 forks source link

Combine R2 buckets (dev) #131

Open joseph-flinn opened 4 months ago

joseph-flinn commented 4 months ago

Combine all static assets for a single instance of the blog into a single R2 bucket.

The current architecture of the blog R2 buckets are both a public and private bucket. The private bucket (flinnlab-blog) is used to host the static posts.json "database" and the static rss.xml, which is then tucked behind a worker. The public bucket is used for hosting images. There is no reason to prevent the direct read of posts.json and rss.xml from the bucket, so there is no reason to keep that bucket private. The images in the flinnlab-blog-images bucket can be moved over to the main blog bucket and be hosted from there.

Sub Tasks