Skip to content

Cache project logos - #4103

Merged
josephsnyder merged 1 commit into
Kitware:masterfrom
williamjallen:cache-project-images
Oct 13, 2026
Merged

josephsnyder merged 1 commit into
Kitware:masterfrom
williamjallen:cache-project-images

Conversation

@williamjallen

Copy link
Copy Markdown
Collaborator

Project logos and other uploaded images aren't cached, which leads to the images filling incrementally when loading /projects. Loading all the images on every request also increases backend load. This PR adds cache-control headers to tell browsers to cache these types of images locally. In a local test, this made the /projects page feel faster since all the images appeared to load at once.

Project logos and other uploaded images aren't cached, which leads to the images filling incrementally when loading `/projects`.  Loading all the images on every request also increases backend load.  This PR adds `cache-control` headers to tell browsers to cache these types of images locally.  In a local test, this made the `/projects` page feel faster since all the images appeared to load at once.
@josephsnyder
josephsnyder added this pull request to the merge queue Oct 13, 2026
Merged via the queue into Kitware:master with commit 4b7ab34 Oct 13, 2026
8 checks passed
@williamjallen
williamjallen deleted the cache-project-images branch October 13, 2026 14:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants