>
Download This Plugin | |
Download Elegant Themes | |
Name | Transient Cleaner |
Version | 1.2.3 |
Author | DarkDesigns |
Rating | 100 |
Last updated | 2014-04-03 01:28:00 |
Downloads |
6879
|
Download Plugins Speed Test plugin for Wordpress |
Home page PageSpeed score has been degraded by 0%, while Post page PageSpeed score has been degraded by 0%
Transient Cleaner plugin added 15 bytes of resources to the Home page and 28 bytes of resources to the sample Post page.
Transient Cleaner plugin added 0 new host(s) to the Home page and 0 new host(s) to the sample Post page.
Great! Transient Cleaner plugin ads no tables to your Wordpress blog database."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 entries will only be deleted if you attempt to access the transient again. 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 reason, which are explained in the FAQ, have not been resolved.
Why is this a problem? Transients are often used by plugins to "cache" data (my own plugins included). Because of the housekeeping problems this means that expired data can be left and build up, resulting in a bloated database table.
Meantime, this plugin is the solution, using the same proposed method as the WordPress core change will use. 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.
Within Administration
-> Tools
-> Transients
an options screen exists allowing you to tweak which of the various housekeeping you'd like to happen, including the ability to perform an ad-hoc run. You can also request an optimization of the options table to give your system a real "pep"!
We'd like to thank WordPress Developer Andrew Nacin for his early discussion on this. Also, we'd like to acknowledge the useful article at Everybody Staze for ensuring the proposed solution wasn't totally mad, and W-Shadow.com for the cleaning code.