| 开发者 | vibebun |
|---|---|
| 更新时间 | 2026年11月7日 23:53 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.0 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
advanced-cache.php drop-in before WordPress fully loads, so repeat visits are answered in milliseconds.
Every optimization is optional and can be excluded per URL or per handle, and logged-in users bypass the cache by default so editors always see the live site.
Page caching
advanced-cache.php drop-in.utm_*, gclid, fbclid, mc_cid) are ignored when building the cache key, so campaign links reuse the same cached page instead of forcing a fresh render.?vbcache debug bypass for troubleshooting a single request.Cache-Control/Expires) rules via .htaccess./wp-content/plugins/vibebun-cache, or install the ZIP from Plugins > Add New > Upload Plugin.WP_CACHE is not already enabled, follow the admin notice to enable page caching.src-js/ to assets/admin/. The source is included in this package; to rebuild it run npm install and npm run build (see the build script in package.json). No build step is required to use the plugin.No. Logged-in frontend requests bypass the cache by default so administrators and editors always see the live site. This can be changed in the settings.
Add ?vbcache to the URL to bypass and inspect the response headers. Cached responses send X-Vibebun-Cache: HIT; bypassed responses send X-Vibebun-Cache: BYPASS. Reserved paths (admin, REST, feeds, sitemaps, login) and URLs matching your exclusion list are never cached.
Cart, checkout, account, and similar dynamic pages are excluded automatically, and requests carrying commerce/session cookies bypass the cache.
Not on its own. It only contacts external services for optional features you enable or configure. See the External Services section below.
X-Vibebun-Cache: STALE. On slow-rendering sites this removes most of the load and the waiting after a page expires..wp-block-post-featured-image :where(img) became .wp-block-post-featured-image:where(img). Also affected :hover, :is(), :not(), ::before, and generated Used CSS.content: "a , b" and attribute selector values.wp_enqueue_style() and wp_enqueue_script() instead of rewriting rendered HTML. Handles with inline code, localized data, translations, a loading strategy, or a conditional comment are never merged.wp_add_inline_style() on a registered handle instead of being injected into <head>.wp_get_upload_dir(), plugins_url(), get_theme_root_uri(), and content_url(), and the site_url() install path is stripped before falling back to the core directory.?vbcache debug bypass now also skips Remove Unused CSS.wp-content assets through WP_CONTENT_DIR (via content_url()), so custom or symlinked content directories resolve correctly for CSS/JS combine and Remove Unused CSS.src-js/) and documented the build for source availability.advanced-cache.php drop-in and the in-WordPress writer into one shared module so read and write paths can never disagree.mc_cid, gclid, gad_source, fbclid, msclkid, and similar..htaccess file and drop WordPress rewrite rules, breaking pretty permalinks..htaccess after plugin deletion.