Clear Cache Link on the Toolbar

Clear Cache Link on the Toolbar

by admin

One of the ways to clear cache is clicking on the link which exists on the admin toolbar. By default, only the admin users can see the clear cache button on the toolbar.

Although It only appears for admins as default, you can make it visible by user role. This feature allows you to show the clear cache button which exists on the admin toolbar based on user roles.

First you need to open the settings page of wp fastest cache. Then you need to click on the settings link as you can see in the picture below.

Then you can select the roles you want on the popup lighbox.

Hide Toolbar Link

If you want to hide toolbar link, you need to add the following line after <?php which exists on the top of wp-config.php file.

define('WPFC_HIDE_TOOLBAR', true);

Related articles

How to Disable Clear Cache Hook System
How to Disable Clear Cache Hook System

Clear Cache Hook System is a way for one piece of code to clear cache.

Placeholder Image
Clearing Cache After New Post

When a new post is published, you can clear all cache or the cache of homepage, the cache of the…

Placeholder Image
Cache Timeout with Hour and Minute

You can specify the hour and minute for cache timeout.

Ready to get started?

Purchase your first license and see why 1,500,000+ websites globally around the world trust us.