dartiss / transient-cleaner

WordPress plugin to clean expired transients from your options table.

Home Page:https://wordpress.org/plugins/artiss-transient-cleaner/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Transient Cleaner

Remove expired transients from your options table. The original and best!

This plugin is designed only for WordPress 5.8 or below, as transient cleaning is part of core functionality after that point.

"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.

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 ♥️

 

About

WordPress plugin to clean expired transients from your options table.

https://wordpress.org/plugins/artiss-transient-cleaner/

License:GNU General Public License v2.0


Languages

Language:PHP 100.0%