Skip to content
This repository has been archived by the owner on Sep 8, 2023. It is now read-only.

Use endpoint to fetch one reference in a cachable way #793

Merged
merged 2 commits into from
Sep 27, 2022

Conversation

juliusknorr
Copy link
Collaborator

@juliusknorr juliusknorr commented Sep 26, 2022

In most cases we only fetch one link preview anyways so we can use a dedicated endpoint which uses a get parameter and can then be cached by browsers

Fixes #788

Signed-off-by: Julius Härtl <jus@bitgrid.net>
Copy link
Collaborator

@julien-nc julien-nc left a comment

Choose a reason for hiding this comment

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

🎉

Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
@julien-nc julien-nc merged commit c92bbd2 into master Sep 27, 2022
@delete-merged-branch delete-merged-branch bot deleted the enh/cachable-api branch September 27, 2022 15:07
@nickvergessen
Copy link
Collaborator

Backport of server is in, so we could release this.

But I guess the #790 ticket would be good as well before we do

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Cache reference data locally in the browser
3 participants