memos/server/router
Steven 61dbca8dc2 fix: prevent browser cache from serving stale memo data (#5470)
This fixes a critical data loss issue where users editing the same memo
on multiple devices would overwrite each other's changes due to aggressive
browser caching, particularly in Chromium-based browsers and PWAs.

Changes:
- Backend: Add Cache-Control headers to all API responses to prevent
  browser HTTP caching
- Frontend: Force fresh fetch from server when opening memo editor by
  invalidating React Query cache
- Frontend: Reduce memo query staleTime from 60s to 10s for better
  collaborative editing support

Fixes #5470
2026-01-13 20:55:21 +08:00
..
api/v1 fix: prevent browser cache from serving stale memo data (#5470) 2026-01-13 20:55:21 +08:00
fileserver feat: add HDR image and video support 2026-01-03 13:16:56 +08:00
frontend chore: prevent sensitive data caching 2025-12-20 12:33:16 +08:00
rss refactor: simplify theme/locale to user preferences and improve initialization 2025-12-02 09:08:46 +08:00