Adjust cache times based on various factors
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 35/100
Direzione di ricerca
Start by locating XRay's cache policy and URL-fetch entry point, then read the related tests. Compare how the issue expects cache duration to vary for tweets, Instagram posts, and other URLs, and consider how clients could request a fresh fetch. Done means the caching behavior and any refresh option have clear, testable semantics for these cases.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
- Tweets can't be edited, so they can be cached for a long time. (It's possible that Twitter may change their image CDN URLs so can't be infinite)
- Instagram posts can be edited, but most of the time the older a photo is the less likely it is to be edited
- Other URLs should be more conservative about being cached, since people sometimes use this for testing whether their markup changes are working, or it's used when verifying webmentions for updates. Could probably use similar logic to cache older posts longer.
Possibly give clients a way to force XRay to fetch the post if the client knows it may have been updated such as from a webmention update.
- Lingua principale
- PHP
- Stelle
- 96
- Fork
- 17
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di aaronpk/XRay
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 45/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 54/100
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 35/100
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 30/100
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 45/100
Tutte le issue di aaronpk/XRay
Issue simili
-
[Sync EN] Pdo\Pgsql: document session state reset on persistent connections (PHP 8.6) (#6084)Forse già presa @lacatoire l’ha presa oggi. Apertasync-en
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
I maintainer di solito rispondono entro 1 giorno
-
Potential Bug To Triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 63/100
matomo-org/matomo#25740 ·
I maintainer di solito rispondono entro 1 giorno
-
[Type] Bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
WordPress/ai#1386 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
E2E setup scripts seed the legacy `payment_request` settings keys instead of `express_checkout`Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
woocommerce/woocommerce-gateway-stripe#6201 ·
I maintainer di solito rispondono entro 2 giorni
-
bug status: unverified
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
I maintainer di solito rispondono entro 1 giorno