Cache-Prefix-Change-Suffix Principle
- Entity ID:
ent-20260419-ac69c5713ff2 - Type:
concept - Scope:
shared - Status:
active - Aliases: prefix caching discipline, static/dynamic split
Description
Convergent principle: split every prompt into a static cacheable prefix and a dynamic session-specific suffix. Claude Code uses SYSTEM_PROMPT_DYNAMIC_BOUNDARY marker to cut inference cost ~80% on long Opus sessions. AutoBE's executeCachedBatch establishes cache with first task then parallelizes the rest at 90%+ cache hit rate, ~88% token cost reduction on 40-API batches.
Key claims
- Convergent design: Claude Code and AutoBE independently adopted three identical principles
Relations
- SYSTEM_PROMPT_DYNAMIC_BOUNDARY --[implements]--> Cache-Prefix-Change-Suffix Principle