{"id":1978,"date":"2026-06-17T07:02:03","date_gmt":"2026-06-17T07:02:03","guid":{"rendered":"https:\/\/www.hostx.ro\/kb\/cum-sterg-w3-total-cache-in-wp-cli\/"},"modified":"2026-07-25T18:45:04","modified_gmt":"2026-07-25T16:45:04","password":"","slug":"cum-sterg-w3-total-cache-in-wp-cli","status":"publish","type":"docs","link":"https:\/\/www.hostx.ro\/kb\/cum-sterg-w3-total-cache-in-wp-cli\/","title":{"rendered":"Cum golesc cache-ul (W3 Total Cache \/ LiteSpeed) cu WP-CLI?"},"content":{"rendered":"<p>Autentific\u0103-te prin <strong>SSH<\/strong> \u0219i intr\u0103 \u00een folderul r\u0103d\u0103cin\u0103 al site-ului (ex. <code>cd public_html<\/code>).<\/p>\n<h3>LiteSpeed Cache (recomandat pe HostX)<\/h3>\n<p>Deoarece serverele HostX ruleaz\u0103 LiteSpeed, cel mai probabil folose\u0219ti pluginul LiteSpeed Cache:<\/p>\n<pre>wp litespeed-purge all<\/pre>\n<h3>W3 Total Cache<\/h3>\n<p>Verific\u0103 statusul pluginului:<\/p>\n<pre>wp plugin status w3-total-cache<\/pre>\n<p>Gole\u0219te cache-ul (op\u021biuni: <code>all<\/code>, <code>posts<\/code>, <code>database<\/code>, <code>object<\/code>, <code>minify<\/code>):<\/p>\n<pre>wp w3-total-cache flush all<\/pre>\n<p>Pentru CDN: <code>wp w3-total-cache cdn_purge<\/code>.<\/p>\n<h3>Din panoul WordPress<\/h3>\n<p>W3 Total Cache: <strong>Performance \u2192 Dashboard \u2192 empty all caches<\/strong>. WP Super Cache: <strong>Settings \u2192 WP Super Cache \u2192 Delete Cache<\/strong>. LiteSpeed Cache: <strong>LiteSpeed Cache \u2192 Toolbox \u2192 Purge All<\/strong>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Autentific\u0103-te prin SSH \u0219i intr\u0103 \u00een folderul r\u0103d\u0103cin\u0103 al site-ului (ex. cd public_html). LiteSpeed Cache (recomandat pe HostX) Deoarece serverele HostX ruleaz\u0103 LiteSpeed, cel mai probabil folose\u0219ti pluginul LiteSpeed Cache: wp litespeed-purge all W3 Total Cache Verific\u0103 statusul pluginului: wp plugin status w3-total-cache Gole\u0219te cache-ul (op\u021biuni: all, posts, database, object, minify): wp w3-total-cache flush all &#8230; <a title=\"Cum golesc cache-ul (W3 Total Cache \/ LiteSpeed) cu WP-CLI?\" class=\"read-more\" href=\"https:\/\/www.hostx.ro\/kb\/cum-sterg-w3-total-cache-in-wp-cli\/\" aria-label=\"Cite\u0219te mai multe despre Cum golesc cache-ul (W3 Total Cache \/ LiteSpeed) cu WP-CLI?\">Cite\u0219te mai mult<\/a><\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"inline_featured_image":false,"whmcs_kb_id":1452,"footnotes":""},"doc_category":[182],"doc_tag":[224,295,226,350,393],"class_list":["post-1978","docs","type-docs","status-publish","hentry","doc_category-wp-cli","doc_tag-cache","doc_tag-litespeed","doc_tag-performanta","doc_tag-wordpress","doc_tag-wp-cli"],"year_month":"2026-11","word_count":98,"total_views":"24","reactions":{"happy":"0","normal":"0","sad":"0"},"author_info":{"name":"Adrian Firican","author_nicename":"techeditor1","author_url":"https:\/\/www.hostx.ro\/kb\/author\/techeditor1\/"},"doc_category_info":[{"term_name":"WP-CLI","term_url":"https:\/\/www.hostx.ro\/kb\/docs-category\/wp-cli\/"}],"doc_tag_info":[{"term_name":"cache","term_url":"https:\/\/www.hostx.ro\/kb\/docs-tag\/cache\/"},{"term_name":"LiteSpeed","term_url":"https:\/\/www.hostx.ro\/kb\/docs-tag\/litespeed\/"},{"term_name":"performan\u021b\u0103","term_url":"https:\/\/www.hostx.ro\/kb\/docs-tag\/performanta\/"},{"term_name":"WordPress","term_url":"https:\/\/www.hostx.ro\/kb\/docs-tag\/wordpress\/"},{"term_name":"WP-CLI","term_url":"https:\/\/www.hostx.ro\/kb\/docs-tag\/wp-cli\/"}],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.7 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Cum golesc cache-ul cu WP-CLI (LiteSpeed\/W3 Total) - Centrul de suport HostX<\/title>\n<meta name=\"description\" content=\"\u00cenva\u021b\u0103 cum s\u0103 gole\u0219ti cache-ul \u00een WordPress folosind WP-CLI pentru pluginele LiteSpeed Cache \u0219i W3 Total Cache. Comenzi rapide \u0219i u\u0219oare.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.hostx.ro\/kb\/cum-sterg-w3-total-cache-in-wp-cli\/\" \/>\n<meta property=\"og:locale\" content=\"ro_RO\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Cum golesc cache-ul cu WP-CLI (LiteSpeed\/W3 Total) - Centrul de suport HostX\" \/>\n<meta property=\"og:description\" content=\"\u00cenva\u021b\u0103 cum s\u0103 gole\u0219ti cache-ul \u00een WordPress folosind WP-CLI pentru pluginele LiteSpeed Cache \u0219i W3 Total Cache. Comenzi rapide \u0219i u\u0219oare.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.hostx.ro\/kb\/cum-sterg-w3-total-cache-in-wp-cli\/\" \/>\n<meta property=\"og:site_name\" content=\"Centrul de suport HostX\" \/>\n<meta property=\"article:modified_time\" content=\"2026-07-25T16:45:04+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.hostx.ro\\\/kb\\\/cum-sterg-w3-total-cache-in-wp-cli\\\/\",\"url\":\"https:\\\/\\\/www.hostx.ro\\\/kb\\\/cum-sterg-w3-total-cache-in-wp-cli\\\/\",\"name\":\"Cum golesc cache-ul cu WP-CLI (LiteSpeed\\\/W3 Total) - Centrul de suport HostX\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.hostx.ro\\\/kb\\\/#website\"},\"datePublished\":\"2026-06-17T07:02:03+00:00\",\"dateModified\":\"2026-07-25T16:45:04+00:00\",\"description\":\"\u00cenva\u021b\u0103 cum s\u0103 gole\u0219ti cache-ul \u00een WordPress folosind WP-CLI pentru pluginele LiteSpeed Cache \u0219i W3 Total Cache. Comenzi rapide \u0219i u\u0219oare.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.hostx.ro\\\/kb\\\/cum-sterg-w3-total-cache-in-wp-cli\\\/#breadcrumb\"},\"inLanguage\":\"ro-RO\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.hostx.ro\\\/kb\\\/cum-sterg-w3-total-cache-in-wp-cli\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.hostx.ro\\\/kb\\\/cum-sterg-w3-total-cache-in-wp-cli\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Prima pagin\u0103\",\"item\":\"https:\\\/\\\/www.hostx.ro\\\/kb\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"InfoCentru\",\"item\":\"https:\\\/\\\/www.hostx.ro\\\/kb\\\/docs\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Cum golesc cache-ul (W3 Total Cache \\\/ LiteSpeed) cu WP-CLI?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.hostx.ro\\\/kb\\\/#website\",\"url\":\"https:\\\/\\\/www.hostx.ro\\\/kb\\\/\",\"name\":\"Centrul de suport HostX\",\"description\":\"tutoriale gazduire web, domenii web \u0219i servere\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.hostx.ro\\\/kb\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"ro-RO\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Cum golesc cache-ul cu WP-CLI (LiteSpeed\/W3 Total) - Centrul de suport HostX","description":"\u00cenva\u021b\u0103 cum s\u0103 gole\u0219ti cache-ul \u00een WordPress folosind WP-CLI pentru pluginele LiteSpeed Cache \u0219i W3 Total Cache. Comenzi rapide \u0219i u\u0219oare.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.hostx.ro\/kb\/cum-sterg-w3-total-cache-in-wp-cli\/","og_locale":"ro_RO","og_type":"article","og_title":"Cum golesc cache-ul cu WP-CLI (LiteSpeed\/W3 Total) - Centrul de suport HostX","og_description":"\u00cenva\u021b\u0103 cum s\u0103 gole\u0219ti cache-ul \u00een WordPress folosind WP-CLI pentru pluginele LiteSpeed Cache \u0219i W3 Total Cache. Comenzi rapide \u0219i u\u0219oare.","og_url":"https:\/\/www.hostx.ro\/kb\/cum-sterg-w3-total-cache-in-wp-cli\/","og_site_name":"Centrul de suport HostX","article_modified_time":"2026-07-25T16:45:04+00:00","twitter_card":"summary_large_image","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.hostx.ro\/kb\/cum-sterg-w3-total-cache-in-wp-cli\/","url":"https:\/\/www.hostx.ro\/kb\/cum-sterg-w3-total-cache-in-wp-cli\/","name":"Cum golesc cache-ul cu WP-CLI (LiteSpeed\/W3 Total) - Centrul de suport HostX","isPartOf":{"@id":"https:\/\/www.hostx.ro\/kb\/#website"},"datePublished":"2026-06-17T07:02:03+00:00","dateModified":"2026-07-25T16:45:04+00:00","description":"\u00cenva\u021b\u0103 cum s\u0103 gole\u0219ti cache-ul \u00een WordPress folosind WP-CLI pentru pluginele LiteSpeed Cache \u0219i W3 Total Cache. Comenzi rapide \u0219i u\u0219oare.","breadcrumb":{"@id":"https:\/\/www.hostx.ro\/kb\/cum-sterg-w3-total-cache-in-wp-cli\/#breadcrumb"},"inLanguage":"ro-RO","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.hostx.ro\/kb\/cum-sterg-w3-total-cache-in-wp-cli\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.hostx.ro\/kb\/cum-sterg-w3-total-cache-in-wp-cli\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Prima pagin\u0103","item":"https:\/\/www.hostx.ro\/kb\/"},{"@type":"ListItem","position":2,"name":"InfoCentru","item":"https:\/\/www.hostx.ro\/kb\/docs\/"},{"@type":"ListItem","position":3,"name":"Cum golesc cache-ul (W3 Total Cache \/ LiteSpeed) cu WP-CLI?"}]},{"@type":"WebSite","@id":"https:\/\/www.hostx.ro\/kb\/#website","url":"https:\/\/www.hostx.ro\/kb\/","name":"Centrul de suport HostX","description":"tutoriale gazduire web, domenii web \u0219i servere","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.hostx.ro\/kb\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"ro-RO"}]}},"knowledge_base_info":[],"knowledge_base_slug":[],"_links":{"self":[{"href":"https:\/\/www.hostx.ro\/kb\/wp-json\/wp\/v2\/docs\/1978","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.hostx.ro\/kb\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/www.hostx.ro\/kb\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/www.hostx.ro\/kb\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hostx.ro\/kb\/wp-json\/wp\/v2\/comments?post=1978"}],"version-history":[{"count":2,"href":"https:\/\/www.hostx.ro\/kb\/wp-json\/wp\/v2\/docs\/1978\/revisions"}],"predecessor-version":[{"id":5361,"href":"https:\/\/www.hostx.ro\/kb\/wp-json\/wp\/v2\/docs\/1978\/revisions\/5361"}],"wp:attachment":[{"href":"https:\/\/www.hostx.ro\/kb\/wp-json\/wp\/v2\/media?parent=1978"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/www.hostx.ro\/kb\/wp-json\/wp\/v2\/doc_category?post=1978"},{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/www.hostx.ro\/kb\/wp-json\/wp\/v2\/doc_tag?post=1978"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}