Перейти к содержимому
Оригинал
Reddit · ClaudeCode / Codex / VibeCoding· /u/TeachTall3390·· 2 дня назадОценка ИИ69

Плагин cache-warmer: чтобы Claude Code не приходилось переписывать весь кэш после паузы

Оригинальный заголовок: Made a plugin so Claude Code doesn't rewrite the whole cache after you take a break

Краткий обзор ИИ

Автор выпустил плагин cache-warmer, который решает проблему: если не обращаться к Claude Code дольше 5 минут, следующий промпт приходится переписывать по полной стоимости кэша, затраты на длинные сессии накапливаются, а первый ответ приходит заметно медленнее.

Полный текст

Полный текст на выбранном языке ожидает перевода. Пока показан оригинал.

If you step away from Claude Code for more than 5 minutes, your next prompt pays full price to rewrite the prompt cache. On a long session that adds up, and the first reply after a break is slower too.

cache-warmer fixes that. Right before the cache expires it sends one tiny refresh, so when you come back your prompt reads the cache instead. It only refreshes when it actually saves money, it caps how many times it does it while you're idle, and the refresh never shows up in your conversation. No telemetry.

Idea comes from the cache warmer in Pi. Clawd pops up above the prompt when it refreshes, which I'm weirdly happy about.

claude plugin marketplace add paulbkim-dev/claude-code-cache-warmer claude plugin install cache-warmer@claude-code-cache-warmer

Repo: https://github.com/paulbkim-dev/claude-code-cache-warmer

Write-up: https://blog.paulbkim.dev/cache-warmer/

Feedback welcome.

Источник: Reddit · ClaudeCode / Codex / VibeCoding · reddit.com