graasp / graasp/graasp-api

Implement no cache control for thumbnail

Open
#788 0 comments 0 reactions 0 assignees View on GitHub
bug :beetle:
Dominant language
TypeScript
Stars
7
Forks
5
PR merge metrics
No merged PRs in 30d

Description

https://www.npmjs.com/package/@fastify/etag

We need `lastUpdateThumbnail` to create an Etag.

The get thumbnail should correctly handle If-none-match or similar
https://objsal.medium.com/how-to-enable-browser-caching-from-scratch-in-node-js-262d5d423172

Remove max age on api response.

-- check carefully for local server

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.