Client caching ≠ server optimization.
React Query caches data on the client to avoid refetching and speed up UI.
Redis runs on the server to cache database or API responses, reduce load, and speed up backend performance.
Together, they create fast apps: server-side caching for scalability + client-side caching for smooth UX.