Skip to content

Performance & Caching

Who is this for? Developers tuning a Capell site for speed, building cache-aware integrations, or wiring CDN invalidation.

Capell ships several layered performance features. Pick the guide for the layer you’re working with:

LayerGuideUse when
Page-level HTTP cachePage cache architectureTuning the static-HTML cache
Model URL cache indexModel URL cacheUnderstanding URL-to-model cache dependencies
HTTP conditional responsesETag & conditional responsesReducing bandwidth on unchanged pages
In-template fragmentsFragment cachingCaching expensive Blade partials
Asset deliveryCritical asset optimizationTuning render-blocking CSS / preloads
Cache bustingCache invalidationWiring model changes to cache flushes
Page renderingLazy page hydrationAvoiding eager loads on cold cache hits
HTML output sizecapell-app/frontendConservatively minifying rendered HTML and page-cache writes

Frontend Authoring uses the model URL cache to find every cached URL touched by an edited record. The editor itself is never baked into cached HTML; admin-only edit controls are added later by the beacon.

See also: packages/core/docs/cache.md, packages/core/docs/extending-capell.md.