Skip to content

Conversation

@GovernmentPlates
Copy link
Member

This PR allows the send_file() method to send a max_age cache control header, so that content (e.g. images - such as large event logos etc.) is properly cached in the browser.

Closes: #6555

@GovernmentPlates GovernmentPlates self-assigned this Sep 24, 2024
@ThiefMaster ThiefMaster added this to the v3.3 milestone Oct 14, 2024
@ThiefMaster ThiefMaster enabled auto-merge (squash) October 14, 2024 09:42
@ThiefMaster ThiefMaster changed the title Enforce browser caching in send_file() Enforce browser caching in send_file() for event logos etc. Oct 14, 2024
@ThiefMaster ThiefMaster merged commit 37b3a68 into indico:master Oct 14, 2024
@ThiefMaster ThiefMaster deleted the cache-logos branch October 14, 2024 09:47
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.

Event logos are sent with "no-cache" header, eating traffic when browing an event's pages

2 participants