Skip to content

Drops the cache in VirtualBox when WordPress is upgrading a plugin or theme.

License

Notifications You must be signed in to change notification settings

costdev/wpclearcache

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

WP Clear Cache

  • Description: Frees reclaimable slab objects (includes dentries and inodes) when WordPress updates a plugin or theme.
  • Author: WordPress Core Contributors
  • Author URI: https://make.wordpress.org/core
  • License: GPLv3 or later
  • Version: 1.0.0

Overview

Howdy!

The extension adds a Must-Use plugin to the WordPress installation, and runs a watcher script that frees reclaimable slab objects (includes dentries and inodes) when WordPress updates a plugin or theme.

This extension was created by WordPress Core Contributors to resolve a filesystem issue within VirtualBox after using the PHP native rename() function.

More details on the VirtualBox issue:

Installation

  1. Add the following to your config.yaml file:
extensions:
    - https://github.com/costdev/chassis-wpclearcache.git
  1. Run vagrant provision.

  2. You should now see a new Must-Use plugin at:

http://vagrant.local/wp/wp-admin/plugins.php?plugin_status=mustuse

  1. Run the following commands and confirm that /bin/sh /etc/init.d/wpclearcache.sh is in the list.
vagrant ssh
htop
  1. Press F10 to exit htop.

If any of these steps fail, please see the Support section below.

Support

Please check existing issues to find out if this has already been reported.

  • If so, please continue the discussion, test an existing PR or submit a new one in the existing issue.
  • If not, go ahead and open a new issue.

Contribute

Please check existing enhancement requests to find out if this has already been requested.

  • If so, feel free to submit a PR or test an existing one.
  • If not, go ahead and open a new issue.

About

Drops the cache in VirtualBox when WordPress is upgrading a plugin or theme.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published