How does Argo CD cache manifests, and when does a hard refresh matter?
IntermediateConceptArgo CD Architecture & Internals
Answer
The repo-server caches generated manifests in Redis, keyed by repo, resolved commit SHA and the app's rendering parameters, for 24 hours by default (--repo-cache-expiration). A normal refresh re-resolves the revision and re-diffs, reusing the cache if the SHA did not change. A hard refresh invalidates the cache and re-renders. You need it when rendering depends on something outside the commit: a Helm chart dependency at the same version that was republished, a plugin reading external data, or a cached error.
More on Argo CD Architecture & Internals
What are the main components of Argo CD?BeginnerWhat does the argocd-repo-server do, and what does it not do?BeginnerWhat does the application controller do on each reconcile?IntermediateWhat is stored in Redis, and what happens if Redis is lost?IntermediateWhy is the application controller a StatefulSet rather than a Deployment?AdvancedWhere does Argo CD keep its configuration?Beginner