Skip to main content
All CollectionsWordPress Performance
Involved Caches & Cache Purging
Involved Caches & Cache Purging
Updated over 5 months ago

To ensure optimal performance and security, WP.pro and your WordPress installation utilizes several types of caches. Depending on your changes, you may need to purge caches periodically. Here’s an overview of the caches involved and guidance on which cache to purge when making changes.

Overview of Caches in WP.pro

PHP OpCode Cache

Function

Speeds up PHP execution by storing precompiled script bytecode in memory.

Managed by

WP.pro

When to Purge

After updating PHP scripts or configurations.

How to Purge

User Interface (CDN ➡ Caching ➡ OpCode Cache ➡ Purge Cache) or API

Auto Purging

WP.pro automatically monitors for file changes and purges the PHP OpCode Cache whenever .php files are modified.

Page Cache

Function

Stores static versions of dynamic pages.

Managed by

WordPress Plugin (if activated)

When to Purge

After making changes to content or page templates.

How to Purge

Via your WordPress Plugin

Auto Purging

Please see your plugins documentation

Database Cache

Function

Caches database query results.

Managed by

WP.pro

When to Purge

After making changes to the database or content that relies on database queries.

How to Purge

User Interface (CDN ➡ Caching ➡ SQL Cache ➡ Purge Cache) or API

Auto Purging

Depends on the configured TTL (learn more)

CDN Cache

Function

Caches assets like images and css files (and, if configured, pages) at various edge locations around the world.

Managed by

WP.pro

When to Purge

After updating any public-facing content or assets.

How to Purge

User Interface (CDN ➡ Caching ➡ CDN ➡ Purge Cache) or API

Browser Cache

Function

Instructs browsers to store static files (like images, CSS, and JavaScript) locally.

Managed by

User

When to Purge

After updating static assets such as images, stylesheets, or scripts.

How to Purge

Change the file name or append "?version=xy" to the resource. You can't directly control a user's browser once a file is cached, but you can influence caching durations beforehand using WP.pro site rules.

By understanding these caches and knowing when to purge them, you can ensure that your WordPress site remains fast, secure, and up-to-date with the latest changes.

Did this answer your question?