Interview Prep/GitOps & Argo CD/Argo CD Architecture & Internals

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.

All GitOps & Argo CD questions Roadmap: Argo CD (GitOps)

More on Argo CD Architecture & Internals