Without explicit Cache-Control headers, browsers may heuristically cache API JSON responses. This causes stale data to be served on normal page refresh (F5) — for example, projects newly shared with a team not appearing until the user performs a hard refresh (Ctrl+Shift+R). Add Cache-Control: no-store to all API responses via middleware and configure the service worker's NetworkOnly strategy to explicitly bypass the browser HTTP cache for API requests. Ref: https://community.vikunja.io/t/team-members-cannot-see-project/1876 |
||
|---|---|---|
| .. | ||
| api/v1 | ||
| caldav | ||
| api_tokens.go | ||
| error_handler.go | ||
| healthcheck.go | ||
| metrics.go | ||
| rate_limit.go | ||
| routes.go | ||
| sentry_middleware.go | ||
| static.go | ||
| validation.go | ||