Skip to main content

How to clear your site cache

Learn how to clear server-side cache on your Rapyd Cloud site, including OPcache, KeyDB, and LiteSpeed Cache.

Overview

Clearing your site's cache is one of the first steps to take when your site is showing unexpected behavior, such as outdated content, layout issues after a design change, or sluggish performance after installing or updating a plugin. Because Rapyd Cloud runs several caching layers simultaneously, clearing the right cache for your situation can resolve issues faster than clearing everything at once.

The dashboard gives you the option to clear all server-side caches in a single action, or to target individual layers: LiteSpeed Cache, OPcache, KeyDB Object Cache, and Cloudflare CDN. Each serves a different purpose, and knowing which one to reach for will save you time.

In this article, you will find step-by-step instructions for clearing each cache layer from the dashboard, along with guidance on when to use each option. For background on what each caching layer does, see Caching on Rapyd Cloud.


When to clear each cache

Before clearing cache, it helps to know which layer is likely responsible for what you're seeing. As a general rule, clearing all caches is the safest option when you are unsure.

Cache layer

Clear when

All caches

You are unsure which layer is the cause, or after major changes such as a site migration, a significant plugin overhaul, or a WordPress core update

LiteSpeed Cache

Logged-out visitors are seeing outdated page content or layouts, and publishing or updating the relevant content has not resolved it

OPcache

You have updated WordPress core, installed, updated, or removed a plugin or theme, or edited a PHP file directly, and the changes are not reflected on the site

KeyDB Object Cache

You have made direct database changes outside of WordPress (such as a manual import or SQL edit), or content and settings changes are not appearing despite the page cache being clear

Cloudflare CDN

Changes are not appearing for visitors after clearing server-side caches, and you want to target the CDN layer specifically without clearing everything else

Note:

LiteSpeed Cache automatically purges relevant pages when you publish or update content in most cases. Manual clearing is needed when that automatic purge has not been sufficient, or after broader changes to your site's design or structure.


How to clear your site cache

Using the quick action shortcut

The fastest way to clear all server-side caches is from the shortcut bar at the top of any site management page.

Step 1: Open your site

In the dashboard, navigate to the site you want to manage.

Step 2: Click Clear all caches

Click Clear all caches in the shortcut bar at the top of the page. This clears LiteSpeed Cache, OPcache, KeyDB Object Cache, and Cloudflare CDN simultaneously.

From the Cache management page

For more control over which cache layer you clear, use the full Cache management page.

Step 1: Navigate to Cache

In your site management area, go to Manage > Cache.

Step 2: Choose your action

From the Cache page, you can take any of the following actions:

  • Clear all caches: Clears all server-side cache layers at once. Use the Clear all caches button at the top of the page.

  • Cloudflare CDN (if set up): Clears the Cloudflare edge cache. Use the Clear cache button in the Cloudflare CDN section.

  • LiteSpeed Cache: Clears the server-side page cache. Use the Clear cache button in the LiteSpeed Cache section.

  • OPcache: Clears compiled PHP bytecode. Use the Clear cache button in the OPcache section. The Total memory and Free memory indicators show your current OPcache usage.

  • KeyDB Object Cache: Clears cached database query results. Use the Clear cache button in the KeyDB Object Cache section. The Operations per second indicator shows current cache activity.


Clearing browser cache

If you are seeing issues as a logged-in administrator but your visitors are not, the problem may be in your browser rather than the server. Browser cache stores static files locally on your device and can sometimes serve an outdated version of a page even after the server cache has been cleared.

To clear your browser cache:

  1. Open your browser settings

  2. Navigate to Privacy and Security

  3. Select Clear browsing data

  4. Check Cached images and files and Cookies and other site data

  5. Click Clear data

  6. Restart your browser and check your site again


Conclusion

Clearing cache is a straightforward and effective first step when troubleshooting site issues. Whether you need a full reset or a targeted clear of a single layer, the dashboard gives you both options. If clearing cache does not resolve the issue, or if you are unsure which layer to target, our support team is available 24/7.

Did this answer your question?