When a plugin is updated, its folder gets deleted and recreated with the updated version. This would destroy any caches, which on a heavily trafficked site could bring down the server
Additionally, the plugins folder on a lot of servers is read only to the user the web server runs as for security reasons.
It also improves management. If you want to clear cache, you don’t have to empty multiple folders across a site, when you have a single cache folder to clear out.
But keep in mind though, that all these plugins give tiny improvements when compared to the massive boost a dedicated object cache will provide. I strongly recommend a Memcached/Redis based setup.
Also, file based caches won’t work on a lot of systems, e.g. on a busy cheap/shared host server, it might be faster to generate the page than it is to retrieve it from the disk, with the end result being that your site runs slower not faster
Related Posts:
- Is get_option() faster than accessing get_transient()?
- Best practices for using the transients API
- Trouble with Transient API when W3TC is activated [closed]
- How to make dynamically-generated content searchable in WordPress?
- How can I free up the memory used by update_post_meta?
- How can I render shortcode so that its not cached by Caching plugins?
- Does WordPress’s HTTP API use any caching?
- Will cron job run if page loaded is being served from cache?
- Is using WP Transients to save external data for a plugin the best/right way?
- Cache directory needed for plugin
- Clearing cached plugin data if it is using an external object cache
- Make WordPress cache permanent for some pages until edited
- Will setcookie work if there is a cache plugin installed?
- Maximum lifetime for nonce
- Clearing caches on plugin uninstall
- How to implement filesystem cache in WordPress
- Is using custom table to suit business needs instead of transients a big hit to page load speed?
- Caching the_content calls
- Service Worker Uncaught (in promise) DOMException
- I need to refresh page to display wp_get_current_user() : why?
- How can I control if post updated
- Undefined cache functions in my custom plugin
- Is it possible to restore an expired transient?
- Plugin files not updated (cache cleared)
- Does WP REST API cache internally executed (rest_do_request) requests?
- Change the_title() of a page dynamically
- Adding more options to the instance of an image. (Attachment Display Settings)
- What is wrong with using add_option with Multisite instead of add_blog_option in a plugin
- Using wp_filesystem in Plugins
- WordPress REST API call generates nonce twice on every call
- Filters ‘request’ and ‘parse_query’ not firing in sites.php nor link-manager.php
- How to trap “Publish” button to check for meta box validation?
- How to use filter hook ‘post_updated_messages’ in coherence with action hook ‘save_post’
- $wp_filesystem returns NULL. What are the dependencies?
- wp_mail not recognizing cc and bcc headers
- How can I call “preview post” from wp_remote_get with authentication?
- Plugin Loading Scripts and Styles on Every Page – Even when not being used
- set_sale_price in WooCommerce [closed]
- Adding extra pages to plugin that shouldn’t appear in the sidebar
- jquery document ready function not being called [closed]
- How do I include background images in my stylesheets in a plugin?
- Custom plugin icon not showing up
- I’m designing a plugin to create database indexes. Suggestions?
- $reverse_top_level works the opposite way according to Codex?
- How to serve different thumbnails/images depending on users browser/platform
- Plugin for Android Marketplace downloads?
- How to export post meta with images in wordpress
- Parse form values before sending to options.php
- My WordPress plugin cannot load my JavaScript file
- Password field is empty when using wp_signon();
- Add Minimum Dimensions Text to Featured Image
- Show error message after exception handled
- admin_post equivalent for guest user?
- WP Cron being triggered but not working as expected
- Plugin Options Array Set to Undefined
- is pre_get_comments not working?
- How do I have now a duplicated user entry if this is not allowed (and I cannot replicate it)?
- Settings API – format container of setting and setting’s description
- Delete option of a Plugin
- Automating the process of shortcode generation in a plugin – how is it done?
- I am trying to make a page in the admin section similar to the appearance of the Profile page for users
- Proper way to include stylesheet for panels
- unregister_setting() vs delete_option() for plugin update
- Get thumbnails with array sizes parameter
- Why would someone use function_exists(‘add_action’) in a plugin?
- How do I get variables from my plugin’s settings page?
- Unexpected T_FUNCTION
- How to avoid conflicts with db.php / $wpdb and other plugins that decide to use them?
- Plugin can’t be activated [closed]
- How To Protect Plugin Display From Being Affected By Theme’s CSS
- Is there an action_filter hook to add content before the post title?
- CSS not being applied using wp_enqueue_style
- wp_schedule_event not executing function call, even with add_action
- How to query a nested field in wordpress api using _fields param
- function add custom fields to media gallery
- Add quick edit functionnality to plugin table
- Hide / show settings field based on other field’s value
- using wordpress acf shortcods in tables goes outside the table
- $_SESSION inside php function executed by AJAX
- Two same AJAX calls – one is working, other doesn’t
- remove different admin menu for specific users
- add pagination to wp_remote_get
- Adding and handling custom settings tab to fusion element
- Shortcode from a plugin not working
- How to get option values without requiring wp-load?
- Problem with baseurl and interaction with plugin
- Why setcookie function redirecting to home page in wordpress?
- Should all roles be allowed CRUD operation on the database?
- Associating special meaning with user id 0
- Filter get_user_by instead of replace function
- Downloading Generated XML File
- Can’t get query string in ajax call
- How to use permalink query to go to specific tabs in posts
- Conditional query tags do not work before the query is run. Before then, they always return false
- WP Cron registers hook without any action (does not call the function)
- Send Webhook when post-status is publish or trash
- Help interpreting @wordpress/create-block-tutorial-template usage error
- React Plugin Settings Page Localization
- Is it within WordPress guidelines to update another plugin’s database fields from my own plugin? [closed]
- Block Development: hamburger module throwing error in save function