跳到内容

RavenCache: Page Cache & Speed

v1.0.0

deskraven · 2026年11月17日 上架

Fast page cache with HTML/CSS/JS optimization, WebP, local fonts, Cloudflare and Bunny.net purge, database cleanup and speed reports.

正在使用
10 以下
评分
暂无
累计下载
109
最近更新
2026年11月17日
需要 WordPress 5.9+已测试到 7.1.5PHP 7.4+

贡献者

RavenCache makes a WordPress site faster without a maze of settings. Pick a profile (Safe, Balanced or Aggressive) and the plugin switches on a matching set of optimizations. Every option can then be changed on its own, and the dashboard shows what is on and how risky each option is.

Page cache

  • Static HTML cache served before WordPress loads (a drop-in advanced-cache.php), with automatic purge when content changes.
  • Never caches logged-in users, carts, checkout, search results or pages that set cookies; when in doubt it skips the cache instead of risking showing someone else’s data.
  • Optional cache warm-up (preload) from the sitemap.
  • X-RavenCache response header (HIT / MISS / BYPASS with the reason) to find out why a page is not cached.

Optimization

  • HTML minification, safe script deferring, delaying of third-party scripts (analytics, pixels, chat) until the first interaction.
  • Lazy-loading of images and iframes, YouTube facade, WebP conversion, font-display: swap, local copies of Google Fonts.
  • Removal of unneeded extras (emoji script, embeds, feed links, pingbacks), Heartbeat control, revision limit.
  • Gzip and long-lived browser caching rules for static files (Apache and LiteSpeed .htaccess, checked after saving and rolled back on a server error).

CDN and edge

  • Cloudflare: purge, recommended zone settings and Cache Rules for HTML caching, with your own API token.
  • Bunny.net Pull Zone purge, generic HTTP PURGE for Varnish or Nginx, static-file URL rewriting to a CDN host.

Database

  • Cleanup of old revisions, auto-drafts, spam and trashed comments, expired transients, orphaned metadata and trashed posts, on demand or on a schedule.
  • Report of the largest autoloaded options.

Measurements and charts

  • One click measures the response time of the home page and a few other pages (first request, cached, and cache-bypassed) and analyses what blocks the first render.
  • Optional Google PageSpeed (Lighthouse) test for mobile and desktop.
  • History and charts on the dashboard, plus a configuration report you can paste into a support request.

Currently the plugin interface is in Polish.

External services

RavenCache connects to external services only when you switch the related feature on or click the related button. Nothing is sent in the background.

Google PageSpeed Insights API

Used by the “Google PageSpeed test” buttons on the dashboard. The address of your home page (and your optional API key from the Advanced tab) is sent to Google to run the test, and the result is stored in your database.
Service: https://developers.google.com/speed/docs/insights/v5/about
Terms: https://developers.google.com/terms
Privacy: https://business.safety.google/privacy/

Cloudflare API

Used only when you enter an API token in the Cloudflare tab. The plugin sends purge requests, zone settings and Cache Rules requests for your zone to api.cloudflare.com.
Terms: https://www.cloudflare.com/website-terms/
Privacy: https://www.cloudflare.com/privacypolicy/

Bunny.net API

Used only when you enter a Bunny.net API key. The plugin sends Pull Zone purge requests to api.bunny.net.
Terms: https://bunny.net/tos/
Privacy: https://bunny.net/privacy/

Google Fonts

If you turn on “local Google Fonts”, the plugin downloads the font files referenced by your theme from fonts.googleapis.com and fonts.gstatic.com once, stores them on your server, and serves them from there afterwards. Visitors do not contact Google.
Terms: https://developers.google.com/fonts/terms
Privacy: https://developers.google.com/fonts/faq/privacy

YouTube thumbnails

If you turn on the YouTube facade, visitors’ browsers load a preview image from i.ytimg.com until they click play; the video itself loads from youtube-nocookie.com only after the click.
Terms: https://www.youtube.com/t/terms
Privacy: https://business.safety.google/privacy/

Your own proxy

If you configure an HTTP PURGE address (Varnish, Nginx), purge requests are sent to that address.

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums