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%
Seraphinite Accelerator
Turns on site high speed to be attractive for people and search engines. See more how to use it. TO USE FREE ADDITIONAL FEATURES PLEASE INSTALL THE FREE EXTENDED PLUGIN VERSION BY FOLLOWING ONSCREEN PLUGIN’S INSTRUCTIONS. We kindly ask you to post reviews to share experience about your site speed – it helps improving the plugin. Features Fastest cache engine A high-performance file cache engine works as fast as possible on your site. High load tolerance Cache revalidation uses minimum resources. Security User cached sessions are protected from brute force attacks. Optimization plugins compatibility Many 3rd party optimization plugins can be used. Various range of encoding GZip, Deflate, Compress, Brotli, Uncompressed are supported. Cache data compression Decreases storage data occupation. Browser cache Leverage browser caching via .htaccess to reduce server load. Caching separation Data is different for various devices and environments. No site registration and quoting There is no any site registration and no time or page count quota. Free additional features Multiple CDN Rearrange balance on multiple CDNs to be faster and decrease costs. Lazy revalidation Pages speed is always highest even while content updating. Cache storage space optimization The same parts are stored uniquely, which significantly saves space. Users cache Smart caching of user’ dependent pages like shop cart, online courses, etc. HTML error-correcting and checking Managing unescaped scripts, misplaced and lost tags. Content size optimization Minification of Java-scripts, styles (CSS), HTML. Media load optimization Lazy loading of images, video, frames, fonts. Scripts load optimization Java-scripts and styles (CSS) lazy loading, inlining, and deferring. Premium features Remote optimization Optimization can be performed remotely on our cloud servers. Includes CPU seconds: 1000/hour, 10000/day and 300000/month. No page views limits There is no limit of 5000 page views per month. In free version after reaching that limit the product will just cache pages without optimization. No banner There is no banner at the bottom of the site. No promotions No promotions of other related plugins. Support Personal prioritized support (3 hour per site). Additional support is for 30 EUR per hour. All issues due to product are always fixed for free. More details. Requirements WordPress 4.5 or higher. PHP 7.1 or higher. Browser (Google Chrome, Firefox, IE). Compatibility Google Tag Manager for WordPress 1.11 or higher. Facebook for WordPress 3.0 or higher. Site Kit by Google – Analytics, Search Console, AdSense, Speed 1.30 or higher. Realbig For WordPress 0.3 or higher. Yandex Metrica 1.8 or higher. JivoChat Live Chat 1.3 or higher. EWWW Image Optimizer 6.0 or higher. Smush – Lazy Load Images, Optimize & Compress Images 3.8 or higher. reSmush.it : the only free Image Optimizer & compress plugin 0.4 or higher. Image optimization & Lazy Load by Optimole 3.1 or higher. WooCommerce 3.5 or higher. WooCommerce Subscriptions 2.4 or higher. LMS by LifterLMS 4.0 or higher. WP-Recall – Registration, Profile, Commerce & More 16.26 or higher. WordPress Social Login 3.0 or higher. AMP for WP – Accelerated Mobile Pages 1.0 or higher, but pages’ speed is not guaranteed due to this plugin already optimizes content. Jetpack – WP Security, Backup, Speed, & Growth 9.7 or higher. All in One SEO Pack 4.0 or higher. Yoast SEO 16.0 or higher. Rank Math SEO 1.0 or higher. WPML 4.0 or higher. PolyLang 1.8 or higher. Multiple Domain 1.0 or higher. Seraphinite Post .DOCX Source 2.0 or higher. Seraphinite Bulk Discounts for WooCommerce 2.0 or higher. Webinoly 1.14 or higher. ISPmanager 6.0 or higher. Smart Slider 3 3.4 or higher. Revolution Slider 6.5 or higher (partial support). Depicter Slider 1.9 or higher. Hide My WP Ghost 4.0 or higher. WP Hide & Security Enhancer 1.7 or higher. Feeds for YouTube 1.4 or higher. VillaTheme WooCommerce Multi Currency 2.1 or higher. Permalink Manager 2.2 or higher. Airtech Plumber HVAC and Repair theme 1.6 or higher. Porto theme 6.2 or higher. FlatSome theme 3.0 or higher. Slideshow of UIkit 3.14 or higher. Nginx Cache Controller 3.3 or higher. Nginx Cache 1.0 or higher. Nginx Helper 2.2 or higher. Cloudflare 4.9 or higher. Newspaper (tagDiv) theme 11.3 or higher. Image Comparison Widget of ElementsKit. Carousel of Happy Elementor Addons. Qi Addons For Elementor theme 1.6 or higher. Photonic Photo Gallery 2.80 or higher. WooCommerce – 1C Data Exchange 1.115 or higher. Scrollsequence – Cinematic Scroll Image Animation 1.3.0 or higher. GDPR Cookie Consent Plugin (CCPA Ready) 2.4 or higher. Tag Groups is the Advanced Way to Display Your Taxonomy Terms 2.0 or higher.