Skip to content

feat(routes/videoLabel): add ETag to responses#601

Open
FineFindus wants to merge 1 commit intoajayyy:masterfrom
FineFindus:fix/video-label-etag
Open

feat(routes/videoLabel): add ETag to responses#601
FineFindus wants to merge 1 commit intoajayyy:masterfrom
FineFindus:fix/video-label-etag

Conversation

@FineFindus
Copy link

Adds the ETag header to the /getVideoLabels and the /getVideoLabels:hash routes, similarly to #533. This allows clients (e.g. LibreTube) to cache the responses reducing the amount of network traffic.

Ref: #576

This is marked as a draft, as I'm having trouble to get the server up and running to actually test the changes.

  • I agree to license my contribution under AGPL-3.0-only with my contribution automatically being licensed under LGPL-3.0 additionally after 6 months

Adds the `ETag` header to the `/getVideoLabels` and the
`/getVideoLabels:hash` routes. This allows clients to cache the
responses reducing the amount of network traffic.

Ref: ajayyy#576
@FineFindus FineFindus marked this pull request as ready for review February 21, 2026 13:32
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.

1 participant