Content Hash Cache Pattern

Cache expensive file processing results using a composite key of SHA-256 content hash plus processor version and config — path-independent, auto-invalidating, with service layer separation. Use when caching costly file-processing outputs (PDF parsing, OCR, text extraction, image analysis) that recur across runs and the cache must survive file moves/renames while auto-invalidating on content change.

Davie521 Updated

File contents

Davie521/claude-skills/tree/main/plugins/web/skills/content-hash-cache-pattern commit 4863fb7852

Frequently asked questions

npx skillmds@latest add davie521/content-hash-cache-pattern