Skip to content

refactor: serve images directly from the public media host - #163

Draft
glitchedmob wants to merge 1 commit into
sgf-rewrite/test-cleanupfrom
sgf-rewrite/public-media
Draft

glitchedmob wants to merge 1 commit into
sgf-rewrite/test-cleanupfrom
sgf-rewrite/public-media

Conversation

@glitchedmob

@glitchedmob glitchedmob commented Oct 20, 2026 •

Copy link
Copy Markdown
Member

Let the public CMS media host handle image delivery and caching instead of proxying bytes through Node.

  • Remove the frontend media route, stream handling, proxy configuration and proxy-specific tests.
  • Resolve native CMS media paths against MEDIA_PUBLIC_URL while retaining public CDN URLs and image parameters.
  • Support SVG, WebP, AVIF and GIF alongside JPEG and PNG, with existing HTML sanitization and image fallbacks.

@glitchedmob
glitchedmob added this pull request to stack #161 October 20, 2026 03:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant