How to Remove WordPress Cache Plugin WP File Cache

Tadashi Shigeoka ·  Thu, April 19, 2018

I’ll introduce how to completely remove the WordPress cache plugin WP File Cache.

WordPress | ワードプレス

Reasons for Removing WP File Cache

There are two reasons why I decided to remove the WP File Cache plugin.

  1. It hasn't been tested against the latest 3 major releases of WordPress
  2. It creates an enormous number of cache files

The main reason was that before I knew it, the number of cache files had reached nearly 900,000 and the inodes were exhausted.

The fact that it hasn’t been maintained for over 7 years also motivated me to remove the plugin.

Steps to Remove WP File Cache

First, [Deactivate] WP File Cache from the admin dashboard.

Next, instead of clicking [Delete] from the admin dashboard, delete the entire plugin directory wp-file-cache on the server using the rm command.

cd /var/www/vhosts/example.com/wp-content/plugins
rm -rf wp-file-cache

These are all the steps needed to remove WP File Cache.

That’s all from the Gemba where I gave up on the WP File Cache plugin and completely removed it.