How to clear WordPress cache, How to clear cache in WordPress

0
184

How to clear WordPress cache

A change in the color palette, a redesign of the logo, a new typography, the launch of a new product … These are only some of the reasons why you will have to at some point empty the WordPress cache so that any change you make on your site or in your blog, be visible,  as soon as you click on the “Publish” button. Lets Read “How to clear WordPress cache”

Have you ever made changes and, as much as you refresh the page, you couldn’t see it? Well, that’s because you have to clear or clear the WordPress cache; especially when using a cache plugin like WP Super Cache or W3 Total Cache.

In this article, I will explain how to clear the WordPress cache and, if stolen, also how to clear the browser cache.

Clear WordPress cache, why and when?

How to clear WordPress cache

To improve loading times and provide your visitors with a faster and more optimized website, we generally choose to install a cache system in our CMS. In fact, the most common way to do this is to install WP Super Cache or W3 Total Cache in WordPress.

These plugins make a “copy” of your website and provide your visitors with an HTML version to avoid having to make a request to the server each time a user requests content.

When you only have a few visits a day, you won’t notice how these plugins work at all, but when you have a website or blog that generates traffic, you will notice a lot of difference. Your website will be served much faster, so a cache system is essential if you want to improve the user experience and your SEO positioning in Google SERPs.

Despite all these advantages, it is sometimes also necessary to make some adjustments in the cache plugins for everything to work properly. In this case we are talking about clearing or clearing the WordPress cache so that updates or the latest information on your website is always available.

You may also like>>>

Otherwise, if you change something on your website, you have to wait for the files generated by your plugins to expire on their own. And it can sometimes take a few minutes, but sometimes hours and even days; Everything varies depending on the configuration you have established.

How to clear the WordPress cache

What is promised is debt. We told you that we would explain how to clear or clear the WordPress cache, so let’s not waste any more time. Then we will see how to do it when you use the W3 Total Cache plugin, WP Super Cache or, if you use another system, the Clear Cache for Me plugin, which is specific to it.

1. Clear WordPress cache in W3 Total Cache

If you use one of the most downloaded cache plugins from the official WordPress repository, namely W3 Total Cache, you can erase or empty the WordPress cache with a few clicks. Just follow these steps:

1. Go to the WordPress administration panel and, in the “Performance” section, select the “Cache Panel” option.

2nd. Once in the configuration of the plugin itself, in the top menu, click on “Empty all caches”:

2. Clear the WordPress cache in WP Super Cache

How to clear WordPress cache

If you’re using the WP Super Cache plugin, the process of clearing or clearing the WordPress cache is just as simple. There are only two steps:

1. Go to the WordPress dashboard and, in the left menu, click on “Settings” – “WP Super Cache”.

2nd. Now locate the “Clear cache” button and click on it. That’s all!

Clear WordPress cache with WP Super Cache

3. Clear WordPress cache with Clear Cache for Me

If you are using another WordPress cache plugin or just want a specific tool to perform this action on your website, we recommend that you use Clear cache for me. It is also very easy to configure!

1. Go to the WordPress administration panel and install the plugin. To do this, click on the “Plugins” – “Add new” option.

Install Clear Cache for Me on WordPress

2nd. Once installed and activated, a shortcut will be created in the WordPress toolbar through which you can empty the WordPress cache. This link will take you directly to the “Empty Cache” button of the plugin you have installed “

Clear WordPress cache with Clear cache for me

Is this plugin compatible with my cache plugin?

One very important aspect that you should keep in mind is that Clear Cache for Me is compatible with the most used cache plugins in WordPress, but it cannot guarantee 100% compatibility with everything that exists (it there are many and only in the official repository!).

From the plugin page itself, it

they ensure compatibility with the following:

  • Total cache W3
  • WP Super Cache
  • WP Fastest Cache
  • WPEngine Hosting

And you know the best of everything? If you have already upgraded to WordPress 5, it is important to know that it has already been tested with this version of WordPress and that no incompatibility has been detected.

Note: As always, we recommend that before any installation of plugins or any changes you make to your website, always make sure you have a backup copy. In LucusHost, we make daily and automatic copies in all our hosting plans and VPS servers, anyway, if you also want to have yours, in this article we explain how to do it: What is a backup and how to make a backup of your web?

Very important too! Clear browser cache

Although we left it for the end of everything, remember that when you make changes to your website, it is often necessary to also clear the browser cache.

Because? Well, it’s very simple. In many cases, browsers also store static content, such as style sheets or images, to deliver them much faster.

If you have never deleted the browser cache, do the following:

On Google

Open your browser and, in the upper right corner, click the personalization icon.

Select the “More tools” option and click on the”Clear browsing data”:

Select the type of data you want to delete. In this case, check “Files and images stored in the cache” and click on “Clear data“.

In Firefox

Open the browser and, in the personalization icon, click on “Options”:

Now select the option “Confidentiality and security”.

In the “Cookies and site data” section, click on “Clear data” and check “Web content in the cache”. To apply, click on “Clean”.

In summary …

Clearing or clearing the WordPress cache is one of the simplest tasks you can find every day if you work with WordPress. Remember that you can do this from the control panel of the cache plug-in you are using, or you can install a specific Clear Cache for Me plug-in to perform this action.

Sometimes clearing the WordPress cache is not enough, you also need to delete the data stored in the browser. Sometimes they store static files on the page and, as much as in WordPress you have already deleted the cache, the browser will not show you the updated version of your site

Ok How to clean?

The first thing to do is to install the WP-Sweep plugin. There are many (many, many) database cleaning plugins, but this is the one I recommend, and the one I recommend in the directory of recommended free plugins, which all subscribers have access to. The developer is very good, solvent, very recognized and even contributes to the heart of WordPress. So 100% recommended.

WP Sweep,

Once installed and activated, we will go to “Tools / Scan”. And there we will see everything that we can “scan” in our database. I’ll go over everything and summarize the most important ones, so don’t erase anything you shouldn’t;)

After cleaning

We start with everything related to publications, pages, products and any other personalized content:

Databases also accumulate “dust”

The options that allow us to clean are:

Old magazines of the posts to recover.

Automatic backup of publications that we start to write and leave half saved without saving them.

Messages in the trash that we deleted.

Metainformation of deleted messages.

Anything we can delete without any problem, unless we are not sure if we want to recover a message from the trash, or if we have automatic backup. It is, as we see, only with this that we will already reduce the weight of the database by 28%.

Cleaning comments

Then we go to comments. You already know that the content generated in WordPress can have comments from readers. Well, that also leaves a lot of “dust”:

Comments also leave a lot of data forgotten

The first line refers to unapproved comments. Why keep them? The same goes for SPAM, deleted comments, as well as orphans, which are comments on an article that has been deleted. Less is more, gentlemen 🙂

User cleaning

The users are not registered either, because sometimes we have information about them even if we delete them:

“Orphan” user information

This information is “meta information” of users who no longer exist, that is, data fields, such as name, phone number or Twitter account. Since we deleted them, it doesn’t make much sense to have them there.

Cleaning conditions

The terms define the relationships between taxonomies (categories, labels and other custom taxonomies) and content (publications, pages, etc.).

We can erase orphan relationships

Beware of what we delete here, because as the message tells us, we may have created a taxonomy (for example “Politics”), which is present in the planned publications and is now empty. If this were the case, it would be deleted in the same way.

Cleaning of transitional options

Now we are getting more technical with transitional options, which are options that remain cached for a while.

Transitional options are generated continuously

We can safely delete them, although this can have a side effect with users who are currently browsing the web, such as emptying their cart or leaving them offline and needing to log in again. It will depend on each plugin.

In any case, it is important to know that this cache of options is constantly generated when people visit our page, and that they are very useful in avoiding unnecessary calls to the database and gaining speed.

Optimizing the WordPress database

This is a fixed “yes” because the tables in the database will be optimized, repositioning the information more efficiently.

It is always recommended to optimize the database

This can also be done from phpMyAdmin, but from here it is much simpler, just a click on the red button, and everything is ready.

Total database cleaning

Finally, we get to clean up “the beast”. This means that we will simply “sweep” or clean up all of the options listed above. So if you are sure (very sure) of what you are doing, this is your button!

Completely clean up the WordPress database

Related Searches: wordpress clear cache programmatically, wordpress clear cache ftp, how do i clear my wordpress cache without plugins?, how to clear wordpress cache 2020, wordpress cache folder, wordpress clear cache function, wordpress force browser to clear cache, clear wordpress cache godaddy, how to clear wordpress cache, how to clear cache in wordpress, how to clear cache on wordpress, how to clear wordpress cache without plugin

LEAVE A REPLY

Please enter your comment!
Please enter your name here