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%
Dessky Cache
Dessky Cache is the ultralight caching plugin for WordPress that makes your site faster by generating static HTML files and stores them on the server’s disk. The web server will deliver static HTML file and avoid the resource intensive backend processes (core, plugins and database). This WordPress cache engine will improve the performance of your website. Plugin is suited for simple blog websites that are hosted on shared hosting with limited resources. This plugin was developed by Dessky Team. Dessky Team does not provide support for the Dessky Cache on the WordPress.org forums. In order to get support or make a suggestion from a Dessky Team you will have to Join Our Open Community and Start a Discussion. DISCUSS WITH THE DESSKY TEAM JOIN OUR OPEN COMMUNITY: The purpose of this open community is to have a collective place where the community can help each other, and we can get some feedback to improve Dessky Cache as well. Joining the community is also a great way to connect with like-minded people and share your experience. You can also GET THE PREMIUM SUPPORT User Documentation: Although Dessky Cache is already easy to set up, we’ve put together tutorials, guides, and some knowledge bases to help you set up and get started with it. I have further questions, how do I contact you? Please fill up the contact form and we would be more than happy to assist. Features Efficient and fast disk cache engine Automated and/or manual clearing of the cache Manually purge the cache of specific pages Display of the actual cache size in your dashboard Minification of HTML and inline JavaScript WordPress multisite support Custom Post Type support Expiry Directive Support of 304 Not Modified if the page has not modified since last cached WebP Support Supports responsive images via srcset since WP 4.4 HTTP/2 Focused Dessky Cache allows you to serve WebP images without JavaScript and also fully supports srcset since WP 4.4. WebP is a new image format that provides lossless and lossy compression for images on the web. How does the caching work? This plugin requires minimal setup time and allows you to easily take advantage of the benefits that come from using native WordPress caching. Dessky Cache has the ability to create 2 cached files. One is plain HTML and the other version is gzipped (gzip level 9). These static files are then used to deliver content faster to your users without any database lookups or gzipping as the files are already pre-compressed. System Requirements PHP >=5.3 WordPress >=4.1 Credits This cache plugin is partially based on Cachify developed by Sergej Müller. Dessky Cache is also based on the ‘Cache Enabler – WordPress Cache’ plugin developed by keycdn. Rocket graphic is made by Vaadin and it is licensed under Creative Commons BY 3.0 .
Top keywords