Delete Expired Transients
Delete old, expired transients from the WordPress options table (wp_options), to prevent them from bloating your database and even slowing down your website. Unless you are using an object cache (like memcached), WordPress stores transient records in the options table. Many transients are given an expiration time, so in theory they should disappear after some time. In practise, because old transients are only deleted when requested again after they’ve expired, many transients stay in the database. After a while, there can be thousands or even millions of expired transients needlessly taking up space in your options table, depending on what your plugins are doing. Delete Expired Transients schedules a daily task to delete any expired transients from the options table. It performs this operation with a single SQL query, and then runs a second query to find any orphaned expiration records and deletes them too. There are a few other plugins around that clean up expired transients. This one is written for fast performance, set-and-forget scheduled housekeeping, and maximum compatibility. It uses the PHP time to determine whether transients are expired, not the database time (which can be different). It does only one job, and it does it well with the minimum of resources. Now optimised for WordPress Multisite. Translations Many thanks to the generous efforts of our translators: English (en_CA) — the English (Canadian) translation team English (en_GB) — the English (British) translation team English (en_ZA) — the English (South African) translation team French (fr_FR) — the French translation team Hungarian (hu_HU) — the Hungarian translation team Norwegian: Bokmål (nb_NO) — neonnero Norwegian: Nynorsk (nn_NO) — neonnero Russian (ru_RU) — the Russian translation team Spanish (es_ES) — the Spanish translation team If you’d like to help out by translating this plugin, please sign up for an account and dig in. Contributions Translate into your preferred language Fork me on GitHub Privacy Delete Expired Transients does not collect any personally identifying information, and does not set any cookies. It removes some old information from the database, potentially reducing a website’s exposure to leakage of personally identifying information.
Top keywords
- transients10×2.84%
- expired8×2.27%
- team7×1.99%
- translation7×1.99%
- translation team7×1.99%
- english6×1.70%
- expired transients6×1.70%
- options5×1.42%
- database4×1.14%
- delete4×1.14%
- options table4×1.14%
- table4×1.14%
WP Performance
WP Performance makes your WordPress site load faster without the headache. Turn on a few options and the plugin handles caching, asset optimization, and image delivery for you. Not sure where to start? Open the Overview tab and pick a one-click preset (Safe, Balanced, or Aggressive). You can fine-tune anything afterwards. Version 2.0 is a complete rebuild with a fast new dashboard and no third-party dependencies. Everything below works together out of the box. Caching Page cache – serves a static HTML copy of each page, before WordPress even loads Block cache – cache just the slow parts of a page, even on pages you can’t fully cache (more below) Cache preloading – warm the cache from your sitemap Browser caching – tells browsers to keep files so repeat visits are instant GZIP compression – sends smaller files to the browser Object cache – optional Redis drop-in to cut database load Smart by default – skips logged-in users and WooCommerce/EDD cart pages, and ignores tracking parameters (utm, gclid, fbclid) so clean URLs share one cache Mobile cache – keep a separate copy for mobile devices when you need it CSS Minify CSS (inline and files) Combine CSS files Load CSS without blocking the page Remove unused CSS, per page Critical CSS Combine Google Fonts, or host them on your own server Control font loading (font-display) DNS prefetch and preconnect hints JavaScript Minify JavaScript (inline and files) Combine JavaScript files Defer JavaScript Delay JavaScript until the visitor interacts (great for third-party scripts) Disable scripts you don’t need, site-wide or per page HTML Minify HTML Remove comments and unneeded markup Images and media Lazy load images and videos (uses native browser lazy loading) Responsive images Add missing width and height to stop layout shift (better CLS) Preload your largest image and set fetchpriority for a faster LCP Convert images to WebP and AVIF Custom image sizes and one-click thumbnail regeneration Disable emojis and embeds Database Clean up revisions, auto-drafts, trash, spam, transients, and stale cron tasks Schedule cleanups daily, weekly, or monthly CDN Rewrite asset URLs to your CDN, with exclusions Tools Overview dashboard with environment health checks One-click presets – Safe, Balanced, Aggressive Restore points – roll back to your last five saved configurations Troubleshooting log with a live viewer Export and import your settings Per-page exclusions from the post editor WP-CLI commands Multisite support Block cache Block cache stores the rendered output of a section of a page and reuses it, even on pages that are not fully cached (like logged-in or dynamic pages). Use it three ways: Cache block – add the “Cache” block in the editor and put any blocks inside it Shortcode – [wpp_cache ttl="600"]...[/wpp_cache] PHP – in a template: if ( wpp_cache_start( ‘sidebar’, [ ‘ttl’ => 3600 ] ) ) { expensive_render(); wpp_cache_end(); } You choose how long to cache and whether to keep a separate copy per page, per device, per role, or for logged-in visitors. Add-ons Cloudflare – purge cache and control Cloudflare settings Varnish – auto-purge Varnish cache Prefetch – prefetch links on hover for instant navigation WP-CLI wp wpp flush – clear the page cache wp wpp flush-blocks – clear the block cache wp wpp enable – enable WP Performance wp wpp disable – temporarily disable WP Performance wp wpp cleanup [ ] – run a database cleanup (all, trash, spam, revisions, autodrafts, transients, cron) Languages English Hrvatski (Croatian) Report bugs Found a bug? Please open an issue on GitHub.