JustinGrote / JustinGrote/ModuleFast

ETag Caching Support

Open
#1 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
C#
Stars
151
Forks
11
PR merge metrics
No merged PRs in 30d

Description

We should support ETag caching in the client to not re-fetch origin requests if they have not changed. The question is where this cache should live:
1. Simple in-memory cache (easy to do in PS with a dictionary) to prevent multiple query retries
2. Disk-based (persistent between sessions, do we really need this though? Usually if someone starts a new session, the info is already stale)

pwsh.gallery will implement some long-lived caching for resources like specific catalogItem entries and leaf pages that should never change after first request.

Contributor guide

No contributing guide indexed for this repository

Research direction

No implementation files, tests, or client entry points are identified in the issue. First locate the client request and retry paths, then determine the cache scope and persistence behavior before defining tests that verify unchanged resources are not re-fetched and changed resources still update.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp, powershell
Domain
performance, tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.