Skip to content

Commit 660d486

Browse files
authored
Merge pull request #281 from Opencode-DCP/docs/add-cache-hit-rate-stats
docs: add cache hit rate statistics to README
2 parents 9170831 + b90f5fb commit 660d486

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,6 @@ Add to your OpenCode config:
1919

2020
Using `@latest` ensures you always get the newest version automatically when OpenCode starts.
2121

22-
> **Note:** If you use OAuth plugins (e.g., for Google or other services), place this plugin last in your `plugin` array to avoid interfering with their authentication flows.
23-
2422
Restart OpenCode. The plugin will automatically start optimizing your sessions.
2523

2624
## How Pruning Works
@@ -49,6 +47,8 @@ LLM providers like Anthropic and OpenAI cache prompts based on exact prefix matc
4947

5048
**Trade-off:** You lose some cache read benefits but gain larger token savings from reduced context size and performance improvements through reduced context poisoning. In most cases, the token savings outweigh the cache miss cost—especially in long sessions where context bloat becomes significant.
5149

50+
> **Note:** In testing, cache hit rates were approximately 65% with DCP enabled vs 85% without.
51+
5252
**Best use case:** Providers that count usage in requests, such as Github Copilot and Google Antigravity have no negative price impact.
5353

5454
## Configuration

0 commit comments

Comments
 (0)