Skip to content

Instantly share code, notes, and snippets.

@kaiwen-wang
Created May 21, 2024 20:51
Show Gist options
  • Save kaiwen-wang/eb5d543e215c7693a9cdfaa881f2867e to your computer and use it in GitHub Desktop.
Save kaiwen-wang/eb5d543e215c7693a9cdfaa881f2867e to your computer and use it in GitHub Desktop.
I tried creating a free Github CDN as outlined in https://gist.github.com/jcubic/a8b8c979d200ffde13cc08505f7a6436
jsdelivr makes it so that you cannot serve it if the total amount of image is over 50MB.
statically works, but I don't the query parameters support resizing. So you can send the images out there on the CDN, but you'd have to do some preprocessing to get the sizes you want.
https://gaac.vercel.app/ didn't seem to work that well because I wasn't a fan of the UI and I don't know how long the service wil lbe around as it doesn't seem super polished. Also had problems logging in.
At the moment I am trying to optimize the remark plugins and local image size optimization before using a CDN.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment