Cache

Repository content caching layer

Overview

The Cache is a critical performance optimization layer that stores repository contents locally. Porch supports two cache implementations: CR Cache (using Kubernetes Custom Resources) and DB Cache (using PostgreSQL). The choice between them depends on deployment requirements and scale.

Content to be added.


CR Cache

Custom Resource-based cache implementation

DB Cache

PostgreSQL-based cache implementation

Repository Sync

Porch repository synchronization architecture with SyncManager, cache handlers, and background processes for Git/OCI repositories.