microsoft / microsoft/OSSGadget

Improve caching

Open
#310 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
C#
Stars
371
Forks
58
PR merge metrics
No merged PRs in 30d

Description

The caching layer should be improved.

One potential way to do this is by caching at the httpclient level and by modifying the default httpclientfactory. For users who provide their own factory their get their own caching implementation as they desire.

We would remove the other arguments that propagate the current disc based cache.

One option which appears to require few changes and implements a caching httpclient:
https://github.com/aliostad/CacheCow

Another option that is more manual:
https://github.com/reactiveui/Akavache

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue names no files, tests, or entry points. Start by locating the existing disk-based caching layer and the default httpclientfactory, then compare the proposed CacheCow and Akavache approaches; done would mean an agreed caching design, updated factory behavior, and removal of obsolete cache arguments.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
backend
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.