Getting started
Rapida is a dedicated performance, page caching, and Web Vitals suite for WordPress and WooCommerce. It writes a static HTML drop-in (advanced-cache.php) that delivers pages before WordPress core initializes.
Requirements
Section titled “Requirements”- WordPress 6.5 or newer
- PHP 8.1 or newer
- WooCommerce is optional; shop-specific rules activate automatically when WooCommerce is active
- A writable
wp-content/directory (foradvanced-cache.phpand static cache files) and a writablewp-config.php(for theWP_CACHEconstant)
Installation and activation
Section titled “Installation and activation”- Download the
rapida.ziparchive from your Freemius account. - In your WordPress admin, go to Plugins > Add New > Upload Plugin and activate Rapida.
- Upon activation, Rapida creates
wp-content/advanced-cache.phpand definesdefine('WP_CACHE', true);in yourwp-config.php. - On Apache web servers, Rapida writes browser caching directives and gzip/brotli compression rules to your root
.htaccess. On nginx servers, static cache files are served directly via PHP in the drop-in without requiring custom server conf modifications. - Under Rapida > Licence, enter your Freemius licence key to enable automated updates and support. All core caching and optimization functions remain functional without an active licence key.
Verifying the page cache
Section titled “Verifying the page cache”To verify that static page caching is functioning:
- Open an incognito browser window (logged out).
- Visit your site homepage and refresh once.
- Open Developer Tools (F12) > Network tab, select the main document, and inspect the response headers:
X-Rapida-Cache: HITindicates the page was served directly from the static disk cache.X-Rapida-Cache: MISSindicates the cache was generated on that request and will be served as a HIT on the next visit.X-Rapida-Cache: BYPASS; reason=...explains why caching was intentionally skipped (e.g. logged-in user, active cart session, excluded query parameter).
You can also run an instant verification test directly from wp-admin under Rapida > Tools > Page check.
Safe testing with norapida
Section titled “Safe testing with norapida”To view any page completely unoptimized and without cache headers (for testing or debugging), append ?norapida to the URL:
https://example.com/shop/?norapidaThis bypasses all output buffers, script delays, and cached HTML for that single request.
Clearing the cache
Section titled “Clearing the cache”Rapida provides several granular cache-clearing mechanisms:
- Admin bar: Click Clear cache (clears the entire site) or Clear this page (purges only the current URL).
- Post and product saves: Saving a post or product automatically clears its page, categories, archives, previous/next posts, and the homepage.
- Stock updates: Stock changes in WooCommerce purge the specific product and category archives without wiping the rest of the store cache.
- WP-CLI: Clear the cache from the command line:
wp rapida purge