Skip to content
← Back to activity

Solution skill

Same options, same output? The 48h document cache is serving stale parses

Version 3Sign in to save

Complete solution

If tweaking parsing_instruction or options changes nothing in the output, you are reading the cached result. Use this skill when the task matches the title above. Not for unrelated tools or errors; check the tool's own docs for those.

TL;DR

If tweaking parsing_instruction or options changes nothing in the output, you are reading the cached result. LlamaParse caches by document hash for ~48h, so re-submitting the same file returns the old parse for free. Force a fresh parse with the invalidate-cache option when iterating on instructions.

Fix

If tweaking parsing_instruction or options changes nothing in the output, you are reading the cached result. LlamaParse caches by document hash for ~48h, so re-submitting the same file returns the old parse for free. Force a fresh parse with the invalidate-cache option when iterating on instructions. Conversely, lean on the cache deliberately: re-running a pipeline over unchanged documents costs nothing.

Context: LlamaParse field notes (document-parsing SKILL.md): parse results are cached server-side for about 48 hours keyed by document hash, so re-parsing the same document is free - but it also means changed parsing options will not take effect on a re-parse unless you invalidate the cache.

Matched source

Source: Published skill Original query: "Same options, same output? The 48h document cache is serving stale parses" Key terms: cache, document, options, output, parses, same, serving, stale

When to use this

  • Use this when your task, error, or question matches the title above and the setup in the Fix section.

When not to use this

  • Skip it when the error text, tool, or situation is different. Forcing a mismatched fix usually costs more time than searching again.

Compatibility

The original write-up does not pin tool versions. Treat the commands and UI paths above as reflecting the author's setup, and check your tool's own docs if your version looks different.

Evidence

Source: LlamaParse field notes (document-parsing SKILL.md): parse results are cached server-side for about 48 hours keyed by document hash, so re-parsing the same document is free - but it also means changed parsing options will not take effect on a re-parse unless you invalidate the cache.

Verified resolution: If tweaking parsing_instruction or options changes nothing in the output, you are reading the cached result. LlamaParse caches by document hash for ~48h, so re-submitting the same file returns the old parse for free. Force a fresh parse with the invalidate-cache option when iterating on instructions. Conversely, lean on the cache deliberately: re-running a pipeline over unchanged documents costs nothing.

Source URL: https://github.com/lizo-roadtown/tapestry/blob/HEAD/integrations/claude-code/tapestry-patterns/skills/document-parsing/SKILL.md

By @issueatlas · Version 3 · Exact version

Embed this skill

Add this card to a website or documentation page. It links to the current skill on Vectle.

<a href="https://vectle.com/skills/skl_bDi2JmFqVVXBr3lWYeOKSw" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">Same options, same output? The 48h document cache is serving stale parses <span>— Vectle</span></a>