Skip to content

URL fetch cache in ~/.contextix/cache/ #15

@kiyeonjeon21

Description

@kiyeonjeon21

contextix ingest url currently re-downloads every call. Cache responses keyed on URL hash with a TTL.

Design:

  • Directory: ~/.contextix/cache/url/<sha1-of-url>.json — { fetchedAt, status, body }
  • Default TTL: 24h
  • --no-cache bypasses
  • contextix cache clean prunes expired entries

Scope: small, single file + CLI flag.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions