Beplus Performance Booster
Beplus Performance Booster is a no-bloat performance plugin that gives you fine-grained control over your site’s front-end assets. All features can be toggled independently from a single settings page (Settings > Beplus Performance Booster). All front-end optimisations are bypassed for logged-in administrators so you never accidentally break the admin panel or your own editing experience. Feature summary: JavaScript delay (Simple / Advanced mode) and defer with per-script exclude list JS Release Delay: image-load fallback timer for releasing delayed scripts CSS file and inline minification with cache Remove Unused CSS: per-URL cached stripping of unused CSS rules Non-render-blocking stylesheet loading Lazy load images with IntersectionObserver fallback Remove emoji, wp-embed, Gutenberg CSS, WooCommerce assets on non-shop pages HTML minification and comment stripping Browser cache and gzip/brotli rules via .htaccess Per-page option to disable the cache for specific posts/pages Custom CDN (pull-zone) URL rewriting for static assets Settings Reference Navigate to Settings > Beplus Performance Booster to configure the plugin. ⚡ JavaScript Optimization Delay JS Execution Default: off Delays all non-excluded front-end scripts until the first user interaction (click, scroll, keydown, or touchstart), or until the JS Release Delay timer fires — whichever comes first. Delay Mode — choose how scripts are intercepted: Simple — converts WordPress-enqueued external scripts to text/plain placeholders and replays them on first interaction. Low risk, no event-queue replay. Advanced — output-buffer approach that intercepts every tag on the page (including hardcoded theme scripts and dynamically injected ones) via MutationObserver. Replays DOMContentLoaded and window.load event queues in correct order. Test thoroughly before enabling on production. JS Release Delay (ms) — fallback timer (ms) that releases delayed scripts after above-fold images and fonts finish loading, without requiring user interaction. 0 = disabled — only user interaction releases delayed scripts. Defer Non-Critical JS Default: off Adds the defer attribute to every non-excluded tag so scripts are fetched in parallel and executed after the HTML is parsed. jQuery and jquery-migrate are always protected from deferral. Exclude JS Files Default: empty One URL keyword per line. Any script whose src attribute contains a listed keyword is excluded from both Delay and Defer. Use this to protect scripts that must run immediately (e.g. analytics that need to capture the first page view). Examples: jquery, woocommerce, my-critical-script 🎨 CSS Optimization Minify Inline CSS Default: off Strips block comments (/* … */), collapses redundant whitespace, and removes trailing semicolons from every inline block in . License comments (/*! … */) are preserved. Spaces around + are intentionally kept so calc(100% + 20px) expressions are never broken. Minify CSS Files Default: off Requires: wp-content/uploads/bepluspb-cache/ directory to be writable Minifies every enqueued external CSS file and serves the cached version from wp-content/uploads/bepluspb-cache/. Already-minified *.min.css files and external CDN stylesheets are skipped automatically. Cache files are named using a 12-character content MD5 hash so they self-invalidate whenever the source changes. Non-Render-Blocking CSS Default: off Converts tags to the preload + onload swap pattern: This prevents stylesheets from blocking the initial render. A fallback ensures CSS loads correctly even when JavaScript is disabled. Tip: if you see a flash of unstyled content (FOUC), add your theme’s main stylesheet URL keyword to the Exclude CSS Files list. Exclude CSS Files Default: empty One URL keyword per line. Stylesheets whose href contains a listed keyword are left completely untouched by the Non-Blocking, Inline All CSS, Minify CSS Files, and Remove Unused CSS features. Remove Unused CSS Default: off Requires: wp-content/uploads/bepluspb-cache/ directory to be writable Scans the fully rendered page and strips CSS rules whose selectors never appear in that page’s HTML, caching the trimmed stylesheet per URL. This is a static text match (not a real browser render): the first visit to a URL generates the trimmed file in the background while still serving the original CSS; later visits to the same URL load the trimmed version. Classes added dynamically by JavaScript after page load will not be detected as “used” — add them to the Unused CSS Selector Safelist below. Unused CSS Selector Safelist Default: empty One selector or keyword per line (trailing * wildcard supported). Rules matching these are always kept regardless of whether they were detected as used. Use this for JS-toggled classes (menus, modals, tabs, accordions) and plugin/page-builder dynamic states. Example: .active, .is-open*, .woocommerce-* Unused CSS URL Excludes Default: empty One URL keyword per line. Matching pages never have unused CSS removed. Recommended for checkout/cart and other heavily dynamic pages. 🖼️ Lazy Load Images Enable Lazy Loading Default: off Adds loading="lazy" to qualifying tags found in post content, featured images, widget text, and elements. For browsers that do not support the native loading attribute, a small IntersectionObserver polyfill is injected into wp_footer (activates only when native support is absent). Skip First N Images Default: 1 Images 1 through N are marked loading="eager" instead of loading="lazy". Set this to at least 1 to protect the hero/LCP image from being lazy-loaded, which would hurt Core Web Vitals. Accepts 0–20. Exclude by CSS Class Default: empty Comma-separated CSS class names. Any that has one of these classes loads eagerly (not lazily). Example: hero-image, no-lazy, skip-lazy Exclude by Element ID Default: empty Comma-separated element IDs. Any with a matching id attribute loads eagerly. Example: hero-banner, site-logo Exclude by Filename Default: empty Comma-separated partial filename strings. Any whose src URL contains one of these strings loads eagerly. Example: logo, hero, banner 🗑️ Remove Unused Assets Remove Emoji Scripts Default: off Removes the WordPress emoji detection script, its inline stylesheet, and the s.w.org DNS prefetch hint. Safe to enable if you use real Unicode emoji in your content — browsers display them natively without the WordPress helper. Remove oEmbed / wp-embed Default: off Removes the wp-embed.js script and the oEmbed discovery links added to . Also unregisters the oEmbed REST API endpoint. Disable only if you rely on embedding your WordPress posts inside other websites. Remove Block / Gutenberg CSS Default: off Dequeues wp-block-library, wp-block-library-theme, and global-styles stylesheets on the front-end. Disable if your theme or content depends on Gutenberg block styles. Disable WooCommerce Assets on Non-Shop Pages Default: off Requires: WooCommerce active Dequeues WooCommerce scripts and styles on pages that are unrelated to the shop, cart, checkout, or account. WooCommerce assets are always kept on those pages. 📄 HTML Optimization Minify HTML Output Default: off Collapses redundant whitespace between HTML tags in the full page output. Content inside , , , and tags is always preserved exactly as-is. Remove HTML Comments Default: off Strips HTML comments (e.g. theme generator tags, plugin banners) from the page output. Conditional IE comments are also removed. Remove Inline JS Comments Default: off Removes // single-line and /* … */ block comments from inline blocks in the HTML output. String literals and template literals are never modified. License comments (/*! … */) are preserved. Remove Inline CSS Comments Default: off Removes /* … */ block comments from inline blocks in the HTML output. 🚀 Browser Cache Headers (.htaccess) Enable Browser Caching Default: off Requires: Apache with mod_expires, mod_headers, mod_deflate. .htaccess writable. Injects the following directives into the root .htaccess file inside a clearly labelled block that is never duplicated: Gzip compression (mod_deflate) for HTML, CSS, JS, JSON, SVG, and fonts. Brotli compression (mod_brotli, Apache 2.4.26+) for the same types. Expires headers (mod_expires): 1-year cache for static assets; no-cache for HTML and API responses. Cache-Control headers (mod_headers): max-age=31536000, public, immutable for CSS, JS, images, and fonts. Disabling this option or deactivating the plugin removes the injected block cleanly. 📦 JS File Minification & Cache Minify JS Files Default: off Requires: wp-content/uploads/bepluspb-cache/ directory to be writable Minifies every enqueued JavaScript file using a safe character-by-character comment stripper that correctly handles string literals, template literals, and URL protocol slashes (https://). Already-minified *.min.js files and external CDN scripts are skipped. Cache files use a 12-character content MD5 hash for automatic cache busting. Lines are never joined to avoid breaking JavaScript’s Automatic Semicolon Insertion (ASI) rules. Cache Status Shows how many CSS and JS files are currently stored in the cache directory (wp-content/uploads/bepluspb-cache/). Use the “Clear CSS/JS Cache” button to delete all cached files; they are regenerated on the next page load. The “Beplus Performance Booster” item in the WordPress admin bar (visible to administrators on both the front-end and back-end) shows cache size and file count in a dropdown panel and provides a one-click button to clear the cache. ☁️ CDN Enable CDN Default: off Rewrites matching static-asset URLs on this site to the CDN domain configured below — enqueued CSS/JS, media library images (including responsive srcset), matching URLs inside post content and widgets, and any other matching URL in the rendered page (including root-relative paths written directly into theme or page-builder markup). External URLs and already-CDN URLs are left untouched. Like other front-end optimisations, this is skipped for logged-in administrators. CDN URL Default: empty Your CDN pull-zone domain — for example, the hostname assigned when you add this site as a CDN zone with a provider such as QUIC.cloud (e.g. https://xxxxxxxx.quic.cloud), BunnyCDN, or KeyCDN, or a custom domain CNAME’d to one. This is a generic pull-zone rewriter and works with any CDN provider — it is not an official integration with any of them. File Types Default: css,js,jpg,jpeg,png,gif,webp,avif,svg,ico,woff,woff2,ttf,otf,eot,mp4,webm,pdf Comma-separated file extensions. Only URLs ending in one of these are rewritten to the CDN; everything else (PHP endpoints, REST/AJAX requests, admin URLs) is untouched by design since the matching is extension-based. Exclude from CDN Default: empty One URL keyword per line. URLs containing any of these strings stay on your own domain instead of being rewritten to the CDN. Per-Page Cache Disable (Meta Box) Every post and page edit screen includes a “Beplus Performance Booster” meta box in the sidebar. Checking Disable CSS/JS cache optimizations for this page/post stores the _bepluspb_disable_cache flag in post meta. When set, the Minify CSS Files and Minify JS Files features are bypassed for that specific URL and the original (unminified) files are served instead. Useful for debugging or resolving conflicts on a specific page without disabling minification site-wide. About BePlus This plugin is developed and maintained by BePlus, a WordPress and Shopify development studio with 10+ years of experience building themes and plugins for nonprofits and eCommerce brands. Learn more at beplusthemes.com.
WP-Optimize – Cache, Compress images, Minify & Clean database to boost page speed & performance
MORE THAN A CACHING PLUGIN WP-Optimize is trusted by more than 1 million WordPress website owners to boost performance and reduce page load times to improve your site’s user experiences and SERP rankings in Google. It does this in four clever ways: 1. It caches your site Caching is the process of storing a temporary HTML version of your site on the server so it can be retrieved more quickly for the user. It’s a sure-fire way to ensure web pages load at lightning-fast speed. Turn it on in just one click. 2. It compresses images Large images can really impact page speed load times. WP-Optimize makes it easy to identify and compress images to your preferred lossy / lossless settings in a couple of clicks. 3. It cleans the database Your WordPress database stores everything that you need, plus some things that you don’t. WP-Optimize cleans and optimizes the database to speed up your site and save server resources. 4. It minifies On top of its three main features, WP-Optimize Cache also has the more advanced minification feature. Together with caching, minification dramatically improves performance and page speed load time. 1. CACHE YOUR SITE Turn on caching in just one click: WP-Optimize automatically and optimally configures itself for your WordPress site. Turn it on in one-click or refine its settings if you prefer. More cache features: Cache preloading: This feature emulates a visit to your site, meaning cached files are served straight away, speeding up your site from the very first visit. GZIP Compression: When the server isn’t configured to do so, WP-Optimize delivers HTML, CSS and JS files to the user’s browser as smaller, compressed files, reducing the size of pages and style sheets by up to 90%! Preload key requests: Recommended by Google to improve page speed times. Critical resources (things like font files) get loaded first, so the page loads much faster [Premium]. Use cache settings to: Serve cached content to logged in users: Turn this on if content stays the same for logged in users (or turn on and exclude URLs where content does change e.g. my account areas). Exclude content from cache: Exclude by URL, conditional tags, browser agent strings or list cookies that should prevent caching when set (advanced user settings). Deliver device-specific cache: Serve separate cache files to desktop and mobile devices . This ensures that responsive features e.g. desktop and mobile menus are cached separately and served correctly. User per role cache: Useful if your website delivers different content to different user roles. e.g. an e-commerce site that displays different content to resellers or consumers [Premium]. User specific cache: Serves separate cache files to individual users. Useful for websites with personalised content e.g. Learning management systems [Premium]. Cache purging permissions: Select which user roles are allowed to purge the cache e.g. admin only or perhaps a ‘teacher’ role in an LMS setting only [Premium]. 2. COMPRESS IMAGES Lossy or lossless compression options: Choose between maximum space saving, best image quality or somewhere in-between. WebP conversion: Recommended by Google, WebP can achieve up to 34% smaller file sizes compared to JPEG and up to 26% compared to PNG. Auto-compress: Check a box and every new image you upload will automatically be compressed to your preferred lossy / lossless settings. Bulk compression: Compress every existing image on your site with the press of a button. Restore original: Gone too far? Revert images back to their original in one click. Retain EXIF image data: Check a box to retain EXIF image data during compression. Lazy Load: Webpages load much faster by loading web parts gradually, when they’re needed vs simultaneous loading of everything, all at once [Premium]. Delete orphaned images: Identify and delete unused images from your WordPress website, saving disk space [Premium]. Delete unused image sizes: WordPress creates multiple sizes for every uploaded image causing the uploads folder to become bloated. Scan for image sizes not in use and remove them to save further disk space [Premium]. 3. CLEAN AND OPTIMIZE THE DATABASE Cleans-up database tables, post revisions, auto draft posts, trashed posts, spam, trashed comments and more. Choose what to optimize or it’s one click to clean out the lot. Schedule clean-ups: So you can set and forget. Choose from daily, weekly, fortnightly or monthly. Flexible clean-up schedules: You may wish to optimize database tables more frequently than you remove unapproved comments (for example). Choose the specific time and day when tasks should run [Premium]. Retain a set number of weeks’ data during clean-ups: Just in case you need to retrieve something. Back up before clean-ups: If you delete something you shouldn’t, restore it in a couple of clicks with UpdraftPlus. Power tweak – Turbo boost for WooCommerce: Unique to WP-Optimize, this power tweak boosts performance by replacing a slow query in WooCommerce with two much more efficient queries. E-commerce sites transacting high numbers of orders stand to gain here [Premium]. Power tweak – Boost performance by indexing the postmeta table: This unique power tweak works by allowing the WordPress postmeta table to be indexed, improving performance [Premium]. 4. MINIFY AND COMBINE HTML, CSS AND JAVASCRIPT Minify in just one click: Minifies HTML, JavaScript and CSS. Toggle on or off or customise each one under ‘settings’. Customise minification: Minify only (removing unnecessary code e.g line breaks and white spacing) or minify and merge. Apply the same or different settings to HTML, CSS and JavaScript. Asynchronous loading: Choose non-critical CSS and JavaScript files to load in the background and independently of other resources e.g. analytics or pixel scripts. Loading asynchronously eliminates render blocking and improves page speed. Exclude files from being minified: Specify CSS and JavaScript files to exclude from minification. Optimize fonts: Optimize Font Awesome and Google Fonts. Inline the font files, inherit from CSS settings or load CSS / Javascript asynchronously instead. Preload assets: WP-Optimize visits each web page on your site so the code is minified and preloaded for real life users, right from their very first visit. Preload key requests: Recommended by Google to improve page speed times. Critical resources (things like font files) get loaded first, so the page loads much faster. WHY WP-OPTIMIZE? It’s brought to you by TeamUpdraft, the team behind the world’s most trusted backup, migration and restoration plugin. It’s easy to use. It packs a punch for a free plugin. WP-Optimize brings the best cache and optimization technology together into one single, seamless plugin to make your WordPress site fast, lean and efficient. PREMIUM FEATURES AT A GLANCE Our free version of WP-Optimize Cache is great, but we also have an even more powerful Premium version with extra features that offer the ultimate in freedom and flexibility: Multisite Support: extends database optimisations so they function for multiple WordPress sites at a time. If you manage more than one website, you will need WP-Optimize Cache Premium. Flexibility and Control: gives you the power to optimize select individual tables or a particular combination of tables on one or more WordPress websites, rather than having to optimize all database tables. Deleting unused and unwanted images: removes orphaned images from your WordPress site, plus images of a certain, pre-defined size. Sophisticated Scheduling: offers a wide range of options for scheduling automatic optimization. Specify an exact time and run clean-ups daily, weekly, fortnightly or monthly and perform any number of additional once off optimizations. Seamless Graphical User Interface: for superb clarity in scheduling and managing of multi-site optimizations. WP-CLI support: provides a way to manage optimizations from command-line interface if you have lots of sites Lazy Loading: load only the images and part of a web-page when it is visible to the user so they can see something very quickly. Optimization Preview: gives users the ability to preview, select and remove data and records available for optimization from the database. Preload key requests: preload assets such as web fonts and icon fonts, as recommended by Google PageSpeed Insights. Premium support – caching is one of the most complex things you can do for a website, so premium support offers you peace of mind there’s someone to talk quickly to if you need any technical answers or help configuring the optimizations of cache settings for your website. Translations Translators are welcome to contribute to the plugin. Please use the WordPress translation website.