Skip to content

Conversation

@juliusknorr
Copy link
Member

This adds proper caching headers to public image previews.

Fixes #13290

Copy link
Member

@rullzer rullzer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Well yes. Good point.

@MorrisJobke
Copy link
Member

Do we have a Cache buster here? The etag would be perfect,no?

@rullzer
Copy link
Member

rullzer commented Jan 3, 2019

Do we have a Cache buster here? The etag would be perfect,no?

Won't help if you embed the image of course.
In general if you refresh the etag will be checked.

Copy link
Member

@MorrisJobke MorrisJobke left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested and works 👍

@MorrisJobke
Copy link
Member

/backport to stable15

@MorrisJobke MorrisJobke merged commit 211926c into master Jan 3, 2019
@MorrisJobke MorrisJobke deleted the bugfix/13290/cache-public-preview branch January 3, 2019 09:36
@backportbot-nextcloud
Copy link

backport to stable15 in #13328

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.

4 participants