[GH-ISSUE #261] Add cache-control headers to background images #6020

Open
opened 2026-04-20 16:33:03 -05:00 by GiteaMirror · 0 comments
Owner

Originally created by @RayBB on GitHub (May 7, 2024).
Original GitHub issue: https://github.com/go-vikunja/vikunja/issues/261

Description

We should add cache control headers to the background images.
That way each time you load the projects page it doesn't have to fully load those images from scratch.

Probably should be added here:
e58d10bc72/pkg/routes/static.go (L248-L252)

This is the url: https://try.vikunja.io/api/v1/projects/4/background

Vikunja Version

Version: v0.23.0

Browser and version

FF 125

Can you reproduce the bug on the Vikunja demo site?

Yes

Screenshots

image
Originally created by @RayBB on GitHub (May 7, 2024). Original GitHub issue: https://github.com/go-vikunja/vikunja/issues/261 ### Description We should add cache control headers to the background images. That way each time you load the projects page it doesn't have to fully load those images from scratch. Probably should be added here: https://github.com/go-vikunja/vikunja/blob/e58d10bc72a35c6bc72ff1fc429b246e8faa2c87/pkg/routes/static.go#L248-L252 This is the url: https://try.vikunja.io/api/v1/projects/4/background ### Vikunja Version Version: v0.23.0 ### Browser and version FF 125 ### Can you reproduce the bug on the Vikunja demo site? Yes ### Screenshots <img width="1512" alt="image" src="https://github.com/go-vikunja/vikunja/assets/921217/6be72a53-fea2-4b96-8e28-15b1a045b762">
GiteaMirror added the area/apiarea/themingconcern/performance labels 2026-04-20 16:33:04 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/vikunja#6020