Dep. Comercial +40 365-882.777 +40 722-241.273 Lun-Vin: 10:00-18:00
View Categories

Cum golesc cache-ul (W3 Total Cache / LiteSpeed) cu WP-CLI?

< 1 minut de citit

Autentifică-te prin SSH și intră în folderul rădăcină al site-ului (ex. cd public_html).

LiteSpeed Cache (recomandat pe HostX)

Deoarece serverele HostX rulează LiteSpeed, cel mai probabil folosești pluginul LiteSpeed Cache:

wp litespeed-purge all

W3 Total Cache

Verifică statusul pluginului:

wp plugin status w3-total-cache

Golește cache-ul (opțiuni: all, posts, database, object, minify):

wp w3-total-cache flush all

Pentru CDN: wp w3-total-cache cdn_purge.

Din panoul WordPress

W3 Total Cache: Performance → Dashboard → empty all caches. WP Super Cache: Settings → WP Super Cache → Delete Cache. LiteSpeed Cache: LiteSpeed Cache → Toolbox → Purge All.

Actualizat la 25/07/2026