Skip to content

Clearing the cache in WordPress

WordPress itself does not include a built‑in caching mechanism, but many site owners use caching plugins or server‑level caching to improve performance. Sometimes cached content prevents recent changes from appearing immediately. On ruachost.com, you may need to clear the cache to ensure visitors see the latest version of your site.

  • Updates to themes, plugins, or content may not appear right away.
  • Cached pages may display outdated information.
  • Clearing cache forces WordPress to regenerate fresh content.

Before clearing WordPress cache, ensure your browser isn’t storing outdated content.

  • In Chrome/Edge: Settings → Privacy → Clear browsing data → Cached images/files.
  • Reload your site after clearing.

If you use a caching plugin (e.g., W3 Total Cache, LiteSpeed Cache, WP Rocket):

  • Log in to WordPress as administrator.
  • In the dashboard, go to the plugin’s settings.
  • Look for Clear Cache, Empty All Caches, or Purge Cache.
  • Click the option to clear cached files.
  • Go to Performance → Dashboard.
  • Click Empty All Caches.

On ruachost.com, some hosting plans include server‑side caching (e.g., LiteSpeed).

  • Log in to cPanel.
  • Locate the LiteSpeed or caching option.
  • Click Purge All to clear server cache.

If you use a Content Delivery Network (CDN) like Cloudflare:

  • Log in to your CDN dashboard.
  • Navigate to Caching → Purge Cache.
  • Select Purge Everything to clear cached content globally.
  • Clearing cache may temporarily slow site performance until new cache is rebuilt.

  • If you use multiple caching layers (plugin + server + CDN), clear all of them.

  • For command‑line users, you can clear cache using WP‑CLI:

    Terminal window
    wp cache flush