Support for term/blog/post/user/etc cache flushes

Aperta
#108 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
35/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
wordpress
Ambito
cli

Direzione di ricerca

Start by reviewing the cache command's existing CLI entry points and the WordPress functions named in the issue, including clean_term_cache() and clean_comment_cache(). Determine which term, blog, post, user, and related cache flushes should be exposed without raw PHP, then define the command behavior and coverage needed for each supported cache type.

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

Descrizione

command:cache-flush

Feature Request

Describe your use case and the problem you are facing

Flushing the entire cache can be expensive, and sometimes you can flush just a group but that doesn't cover everything.

On the other hand there are functions that clear term caches that also touch some options, these aren't represented in CLI without forcing you to open a shell and execute the PHP call directly. Not all hosts allow this.

Describe the solution you'd like

A way to do something like https://developer.wordpress.org/reference/functions/clean_term_cache/ or https://developer.wordpress.org/reference/functions/clean_comment_cache/ etc without writing raw PHP code

Lingua principale
Gherkin
Stelle
16
Fork
25
Merge medio
7m
PR unite (30g)
2

Guida per i contributori

Apri la guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Issue simili

Altre issue su CLI

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.