Skip to content

Performance optimization: Use intelligent caching #79

Description

@simontaurus
  1. Determine by given list or based on Performance optimization: Prefetch schema hierarchy #77 all required entities/pages
  2. Fetch the checksum/hash of all pages (see https://github.com/OpenSemanticLab/mediawiki-extensions-MwJson/blob/798aa03bc32512a80ae843941c6cc45b78de0fd5/modules/ext.MwJson.api/MwJson_cache.js#L146)
  3. Compare the checksum/hash with stored versions. Determine missing, changed or outdated entities
  4. Only load missing, changed or outdated entities via Performance optimization: Fetch multiple entities in a single API call #78

Activity

  1. LukasGold commented on Sep 3, 2026

    @LukasGold
    Contributor

    Triage 2026-09-03: still open. slotsha1 is requested from the API in src/osw/wtsite.py, but the code that would store it is commented out and there is no staleness comparison. Only an in-memory full-content page cache exists, not a hash-based skip-refetch.

    This depends on #77 and #78 as building blocks. Open question: decide the scope together with those two, or specify hash-based skip-refetch independently first?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions