cloudflare / cloudflare/moq-rs

Implement caching?

Open
#59 1 comment 0 reactions 0 assignees View on GitHub
enhancement Fetch
Dominant language
Rust
Stars
166
Forks
59
Avg merge
18h 21m
Merged PRs (30d)
22

Description

We currently have a sort of in-memory cache by virtue of how Tracks work internally, but that's not at all set up for the type of random access that would be required by FETCH. Consider adding a minimal in-memory or on-disk cache component so we can serve FETCH requests locally and also locally fulfill Joining Fetch requests.

Contributor guide

Open the contributing guide

Research direction

Start by tracing the existing FETCH and Joining Fetch handling in the repository, then compare it with how Tracks currently provide in-memory access. Define the cache component's scope and storage behavior before implementation. Done means local FETCH requests and Joining Fetch requests can be fulfilled through the cache, with appropriate coverage for both paths.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
networking
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.