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 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×2.00%
- wordpress8×1.60%
- expired6×1.20%
- options5×1.00%
- cleaning4×0.80%
- table4×0.80%
- added3×0.60%
- code3×0.60%
- data3×0.60%
- database3×0.60%
- expired transients3×0.60%
- options table3×0.60%
Holographic Extreme Cache
Holographic Extreme Cache is a simple, yet powerful, static page caching plugin with safe defaults. It includes static HTML page caching, smart cache clearing, safe WooCommerce exclusions, debug response headers, a basic preload system, a cache health check, safe HTML minification, WordPress emoji disabling, browser cache helper rules, new-upload WebP conversion where supported, a homepage speed test, cache diagnostics and an uninstall cleanup option. Caching is not enabled automatically on activation. Open Holo-Cache in the WordPress admin area and use the Setup tab or enable caching manually. Features Static HTML page caching. PHP fallback cache delivery. advanced-cache.php drop-in support. Optional Apache rewrite helper rules. Manual clear cache button. Admin bar cache clearing. Automatic cache clearing when content changes. Basic smart purge for posts, pages, archives, taxonomy archives, authors and homepage. Cache lifetime control. Basic preload for homepage, recent posts and recent pages. Combined cache and preload controls for simpler setup. Safe default exclusions. WooCommerce cart, checkout and account exclusions. Logged-in user bypass by default. POST, AJAX, REST, preview and unsafe query string bypass. Cache size and cached page count. Last purge and last preload time. Basic cache health check. Other caching plugin conflict detection. Debug response headers. Strong cached HTML and inline CSS minification. Disable WordPress emoji files option. Browser cache helper. New-upload WebP conversion for JPEG and PNG images where the server supports it. Safe picture/source markup for generated WebP files, with original images kept as fallbacks. Clear server requirement messaging when WebP conversion is unavailable. Gzip and Brotli detection. Setup tab with one-click WP_CACHE handling where wp-config.php is writable. Setup checklist for the main cache, speed test, preload, health and optional image steps. Simple homepage speed test for cache-off and cache-on comparison with expandable diagnostics. Safe and Balanced modes. Optional uninstall cleanup. Privacy Holographic Extreme Cache does not collect analytics, does not track visitors and does not send site data to a third-party service. The plugin stores cache files, configuration helper files and optional log files inside its own folder under the WordPress uploads directory. Logging is off by default. Uninstall The plugin can remove its settings, cache files, configuration files, log files and scheduled events on uninstall if the uninstall cleanup option is enabled before uninstalling. If uninstall cleanup is not enabled, settings and generated files are left in place so the site owner can remove or inspect them manually.
Top keywords