diff --git a/aider/website/docs/usage/caching.md b/aider/website/docs/usage/caching.md index 4bc51178b..f79bc6d9c 100644 --- a/aider/website/docs/usage/caching.md +++ b/aider/website/docs/usage/caching.md @@ -13,6 +13,13 @@ Aider supports prompt caching for cost savings and faster coding. Currently Anthropic provides caching for Sonnet and Haiku, and DeepSeek provides caching for Coder. +Aider organizes the chat history to try and cache: + +- The system prompt. +- Read only files added with `--read` or `/read-only`. +- The repository map. +- The editable files that have been added to the chat. + ![Prompt caching](/assets/prompt-caching.jpg)