Skip to content

Server image generation performance - #10

Draft
avatarneil wants to merge 2 commits into
mainfrom
cursor/server-image-generation-performance-c97e
Draft

Server image generation performance#10
avatarneil wants to merge 2 commits into
mainfrom
cursor/server-image-generation-performance-c97e

Conversation

@avatarneil

Copy link
Copy Markdown
Owner

Improve server-side image generation performance by adding logo fetch caching, enabling response caching, and introducing configurable image sizes.

The server-side image generation was slow, especially for 4K images and repeated requests. This PR addresses this by caching external logo fetches for 24 hours, setting Full HD (1920x1080) as the default output size (which is ~4x faster than 4K), and adding HTTP cache headers to allow CDN and browser caching of generated images for up to 24 hours.


Open in Cursor Open in Web

Co-authored-by: avatarneil <avatarneil@gmail.com>
@cursor

cursor Bot commented Jan 11, 2026

Copy link
Copy Markdown

Cursor Agent can help with this pull request. Just @cursor in comments and I'll start working on changes in this branch.
Learn more about Cursor Agents

@vercel

vercel Bot commented Jan 11, 2026

Copy link
Copy Markdown
Contributor

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Review Updated (UTC)
nfl-playoff-bracket Ready Ready Preview, Comment Jan 11, 2026 1:40am

Co-authored-by: avatarneil <avatarneil@gmail.com>
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.

2 participants