Transient Cleaner
Clean expired transients from your options table. The original and best! Transient housekeeping was added to the core of WordPress after version 5.8. However, I have decided to open up this plugin to all versions to allow for manual transient cleaning. Longer term I am working on a new version of the plugin, designed specifically for all WordPress releases. Tested up to PHP 8.2 Fully complies with WordPress coding standards Compliant with the stronger WordPress VIP coding standards, as well as compatibility with their platform Community plugin – visit the [Github page](https://github.com/dartiss/[repo link] “Github”) to get involved with the latest code development, request enhancements and report issues “Transients are a simple and standardized way of storing cached data in the WordPress database temporarily by giving it a custom name and a timeframe after which it will expire and be deleted.” Unfortunately, expired transients only get deleted when you attempt to access them. If you don’t access the transient then, even though it’s expired, WordPress will not remove it. This is a known “issue” but due to reasons, which are explained in the FAQ, this has not been adequately resolved. Why is this a problem? Transients are often used by plugins to “cache” data (my own plugins included). Because of this it means that expired data can be left and build up, resulting in a bloated database table. Meantime, this plugin is the hero that you’ve been waiting for. Simply activate the plugin, sit back and enjoy a much cleaner, smaller options table. It also adds the additional recommendation that after a database upgrade all transients will be cleared down. The Settings Screen Within Administration -> Tools -> Transients an options screen exists allowing you to tweak when you’d like cleaning to happen, including the ability to perform an ad-hoc run, and when you’d like the to be automatically scheduled. You can even request an optimization of the options table to give your system a real “pep”! Running in Lite mode A “lite” mode is available. By activating this the options screen will no longer appear and default settings will be used. The advantage? Improved performance to Admin and, especially if you’re running multi-site, no chance of anybody “tinkering” with the settings. To activate, use the following… define( 'TC_LITE', true ); This should be added to your wp-config.php file. Using hooks If you’re the type of odd person who likes to code for WordPress (really?) then I’ve added a couple of hooks so you can call our rather neat cleaning functions… housekeep_transients – this will clear down any expired transients clear_all_transients – this will remove any and all transients, expired or otherwise Acknowledgements I’d like to thank WordPress Developer Andrew Nacin for his early discussion on this. Also, I’d like to acknowledge the useful article at Everybody Staze for ensuring the proposed solution made sense, and W-Shadow.com for the cleaning code. Iconography is courtesy of the very talented Janki Rathod.
Top keywords
- transients10×1.97%
- wordpress8×1.57%
- expired6×1.18%
- options5×0.98%
- cleaning4×0.79%
- table4×0.79%
- added3×0.59%
- code3×0.59%
- data3×0.59%
- database3×0.59%
- expired transients3×0.59%
- github3×0.59%
Super Page Cache – Cloudflare Cache, Page Speed & Core Web Vitals
Super Page Cache is a powerful full page cache plugin for WordPress that caches static files (CSS, JS, images) and HTML webpages at both server disk-level and the global Cloudflare CDN. Get enterprise-level performance with zero configuration required. Super Page Cache improves site speed by enabling server-side caching, cache preloading, local Google Fonts, and removing unused CSS and JavaScript, boosting Core Web Vitals and load times. Works right out of the box with or without Cloudflare. Powerful disk caching saves files locally on your server. To use Cloudflare CDN, just enter your API Key or Token. The intuitive dashboard includes detailed settings and built-in documentation, though most users won’t need to change the defaults. ⚡ Quick Links Documentation → Complete setup and configuration guide Support Forum → Community help and expert support YouTube Videos → Step-by-step visual guides for every feature Go Pro → Advanced features and priority support 🚀 How Does The Plugin Work? Disk Caching (Works Without Cloudflare): Server-level caching saves HTML pages and static files directly to your server, loading pages instantly without any CDN. Cloudflare CDN (Optional): Connect your Cloudflare account to leverage 200+ edge locations using modern Cache Rules. Works with FREE Cloudflare Plan – no paid account required. Achieve higher Pingdom and GTmetrix scores with edge delivery. Supports Free, Pro, and Enterprise Cloudflare plans with auto-purging, cron jobs, and integrated metrics. 🔥 Core Features (Free Version) 🚀 Complete Caching Solution Disk Caching: Lightning-fast server caching with Cloudflare fallback CDN Integration: Optional Cloudflare CDN with 200+ edge locations Cache Controls: Exclude cookies, query params, URIs, AMP, feeds, REST API Cache Lifespan: Custom expiration or never-expire settings Header Management: Preserve critical response headers Cache Buster: Logged-in users never see cached content Performance Metrics: Track cache effectiveness ⚡ Performance Optimization Google Fonts: Combine and serve locally for better Web Vitals Lazy Loading: Images, videos, iframes, background images Lazy Load Exclusions: By keywords, URL patterns, or CSS classes Assets Manager: Enable/disable CSS/JS per page Browser Caching: Auto-configure .htaccess rules 🛠️ Advanced Cache Management Auto-Purging: Clear cache on content updates including related pages Granular Purge: HTML only or entire cache with assets Preloader: From sitemaps, menus, or recent posts (manual/CRON) Background Processing: Uses Action Scheduler Queue-Based Purging: Prevent server overload Backend Bypass: Prevent admin dashboard caching Per-Page Control: Exclude via editor metabox Toolbar Purging: Instant purge from WP toolbar 🔧 Developer & Power User Features Redesigned Dashboard: Intuitive navigation with grouped settings Built-in Documentation: Tips within the dashboard Cache Backends: advanced-cache.php or cURL-based Defer JS Filter: spc_defer_script to exclude scripts Role Permissions: Control who can purge cache Cloudflare API: All plans via API Key or Token Export/Import: Settings as JSON Preserve on Deactivation: Retain settings for staging 🗄️ Database Optimization Database Cleanup: Remove revisions, auto-drafts, trash, spam, transients Scheduled Maintenance: Daily, weekly, or monthly Table Optimization: SQL OPTIMIZE TABLE for defragmentation Selective Cleanup: Choose which data types to clean 🌐 Universal Compatibility Premium Hosts: Kinsta, WP Engine, SpinupWP, and more eCommerce: WooCommerce, Easy Digital Downloads Server Caches: Varnish, OPcache auto-purge Prefetch: Internal links via Instant.page 💎 Super Page Cache PRO with Advanced Performance Features Ignore Marketing Parameters: Better cache hit rate (UTM, affiliate, tracking codes) Defer JavaScript: Eliminate render-blocking JS. Learn more Delay JavaScript: Load JS on interaction only. Learn more Advanced Lazy Loading: Viewport detection, above-the-fold optimization Advanced Exclusions: Exclude specific JS/pages from caching Priority Support: Faster email response times Upgrade to Pro 🎯 Usage Note Disable page caching in other plugins (WP Rocket, LiteSpeed Cache, W3 Total Cache). Safe to use alongside Optimole, Autoptimize, Perfmatters, ShortPixel for asset optimization. ⭐ What Users Say ★★★★★ “Response times dropped from 400ms+ to below 200ms. Almost the same as my static S3 site—using the free version!” – @jurijs0 ★★★★★ “A game-changer for our website’s performance! Noticeable improvement in loading times, boosted engagement and SEO.” – @brandnexusstudios Leave a review | Follow us on Twitter | YouTube Super Page Cache is backed by Themeisle, powering 1M+ WordPress sites with 450+ five-star Trustpilot ratings.