JustinGrote / JustinGrote/ModuleFast

ETag Caching Support

Aperta
#1 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
enhancement
Lingua principale
C#
Stelle
151
Fork
11
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
csharp, powershell
Ambito
performance, tooling
Tipo di issue
Funzionalità
Difficoltà
5/5
Tempo stimato
Più di una settimana
Stato di attività
Ferma
Chiarezza
Da chiarire
Idoneità per principianti
30/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.