Document silverback:api-components:warm-http-cache (warming the API cache before a pod takes traffic)
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- Mezza giornata
- Idoneità per principianti
- 58/100
- Tipo di issue
- Documentazione
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Stack tecnologico
- kubernetes, php
- Ambito
- documentation
Direzione di ricerca
Start with the command's source and options in the linked bundle PR (components-web-app/api-components-bundle#443, issue #442) and the existing API deployment / HTTP cache docs. Add a section for silverback:api-components:warm-http-cache covering purpose, each option with its default, the skip rules, the exit codes, and the note that --base-url must reach Caddy rather than PHP. Done when the section matches the command's actual flags and behaviour in that PR and the Kubernetes postStart example is included.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Bundle: components-web-app/api-components-bundle#442, PR components-web-app/api-components-bundle#443.
New console command silverback:api-components:warm-http-cache to document in the API section (deployment / HTTP cache):
- Purpose: a new API pod starts with an empty Souin cache and cold PHP. The command requests, through the cache, what SSR fetches for each live public route (route lookup,
resource_manifest, every resource in the manifest; only the lookup for a redirect), so the first visitors hit a warm cache. Intended for a time-limited KubernetespostStarthook (components-web-app/components-web-app#160), e.g.bin/console silverback:api-components:warm-http-cache --max-time=240 || true. - Options:
--base-url(defaulthttp://localhost, the Caddy in the pod),--path(repeatable),--limit(shortest paths first),--concurrency(default 2),--max-time(stops starting requests, still exit 0),--timeout(per request, default 30s),--accept-encoding(defaultgzip, ornone). - Behaviour: anonymous requests only; draft, scheduled, ancestor-gated and
route_securityroutes are skipped. Exits 0 whatever the responses; invalid options exit 2. Prints requests, cache hits/misses, failures and the slowest requests;-vlists failures. - Why the headers matter: entries are only useful under SSR's exact cache key, so the command sends the module's
Accept,preloadandpathheaders andgzipencoding, and uses a dotless host so it maps toBROWSER_SERVER_NAME. Worth a note that--base-urlmust reach Caddy, not PHP directly, or nothing is cached.
- Lingua principale
- Vue
- Stelle
- 0
- Fork
- 0
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
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 components-web-app/docs
-
Document opening the add page data form with defaults (?parentPage, ?parentPageData, ?template)Apertadocumentation
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
components-web-app/docs#230 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
components-web-app/docs#228 · 1 commento ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
components-web-app/docs#227 ·
-
documentation
Difficoltà 3/5 1-3 ore Idoneità per principianti 25/100
components-web-app/docs#226 ·
-
Website copy: inaccurate infrastructure claims, typos, a broken link and commented-out leftoversApertaenhancement
Difficoltà 3/5 1-2 giorni Idoneità per principianti 62/100
components-web-app/docs#175 ·
Tutte le issue di components-web-app/docs
Issue simili
-
[scanner] check:spelling skips blog/ — posts and author metadata are never spell-checkedForse già presa @hivecommons-hive l’ha presa oggi. Apertaagent/scanner bug hive/covered-by-pr hive/hosted-available-lke648397-260827-5n31
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 72/100
cncf/endusers#1452 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
documentation
Difficoltà 1/5 1-3 ore Idoneità per principianti 62/100
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
hummingbot/condor#283 ·
I maintainer di solito rispondono entro 1 giorno
-
README for cliForse già presa @Janvi-kapoor l’ha presa oggi. ApertaOSCI'26
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
GauravKarakoti/SecureFlow#1308 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
documentation
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
vitest-dev/vitest#11577 ·
I maintainer di solito rispondono entro 1 giorno