Skip to content

Optimize file endpoint caching - #15

Open
csiber wants to merge 1 commit into
mainfrom
codex/optimize-/api/files/-filename]-route-caching
Open

Optimize file endpoint caching#15
csiber wants to merge 1 commit into
mainfrom
codex/optimize-/api/files/-filename]-route-caching

Conversation

@csiber

@csiber csiber commented Jul 29, 2025

Copy link
Copy Markdown
Owner

Summary

  • serve files from R2 via /api/files/[filename]
  • set long-lived caching headers for images
  • disable caching for missing files

Testing

  • pnpm lint

https://chatgpt.com/codex/tasks/task_e_6888e8ec8894832593719d70cda1f0eb

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant