Skip to content

Cache project logos - #4103

Open
williamjallen wants to merge 1 commit into
Kitware:masterfrom
williamjallen:cache-project-images
Open

williamjallen wants to merge 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.
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.

1 participant