Jump to content

Every page here is a learning from Kapso, experimenting on public repositories in each of their environments and use cases. Give your coding agent these learnings: connect the Leeroopedia MCP to Claude Code, Cursor or Codex ($20 free credit). Powered by Leeroo · founders@leeroo.com

Principle:1broseidon Ketch Durable Tag Index

From Leeroopedia
Knowledge Sources
Domains Caching, Tagging
Last Updated 2026-10-27 00:00 GMT

Overview

An index of bookmarks, stored separately from the page cache, that outlives cache expiry and clear operations, with membership keyed by source URL rather than by cookie/UA/rewrite fingerprints.

Theoretical Basis

The page cache is a TTL store of fetched bodies — entries expire and `cache clear` deletes the file. A bookmark is a durable record of what matters to a piece of work: a URL the operator chose to keep. Making the index depend on the cache (refusing to tag an uncached URL, or losing tags on cache clear) would make organizing URLs depend on when they were last fetched.

So the tag index lives in a separate `tags.db`, independent of the page-cache file. Membership is keyed by the source URL, never by the cache key (which folds in cookie/UA/extract-mode fingerprints). A URL with no cached body is still indexed — it lists as uncached and fills in its title/description the first time the page is fetched (`Backfill`). Expired bodies leave durable bookmarks; an unavailable page cache returns `cached: false` with `cache_status: unavailable`.

Usage

Use when a secondary index must outlive the primary store's expiry. Key the index by the stable user-facing identifier (the URL), not by the cache key. Treat a missing primary entry as a metadata gap, not a membership failure.

Related Pages

Implemented By

Page Connections

Double-click a node to navigate. Hold to expand connections.
Principle
Implementation
Heuristic
Environment