Home » WordPress Tutorials » Optimization » How to Clear Cache in WordPress

How to Clear Cache in WordPress

In a previous article, we talked about what cache is and why it is important for your WordPress website. In this post, you will read how you can clear cached files by using two methods:

  1. Clear your browser cache
  2. Clear your WordPress cache with a plugin

Both are useful and both can speed up your website.

 

How to Clear Cache in WordPress

First, you will read how to clear the browser cache. It is important because too many cached files can result in slow website performance. After that, you will read how to use various WordPress plugins to clean up your site from unnecessary cache files.

 

How to Clear Your Browser Cache

Most Internet browsers contain various stylesheets, JavaScript, and image files. These stored files are very useful, but the downside is that they display a certain version of your website, which is not necessarily the latest one. Also, storing too many files can result in poor performance and slow loading speeds.

Deleting these files will refresh the system, so your browser functions properly and displays the latest changes you’ve applied across your web pages.

For this demonstration, we are using Google Chrome. If you are using a different web browser, don’t worry –  the process is identical to most Internet browsers.

Here’s how to do so:

First, go to the settings of your Internet browser:

 

Then, go to Privacy and Security settings:

 

Now, click on Clear browsing data:

 

This will open an active dialogue box from where you can select what kind of cleanup you want to perform:

 

Select your preferences and click on the blue Clear data button. This will start the clean-up process.

Now, you’ve managed to clear your browser cache.

 

How to Clear Your WordPress Cache with a Plugin

To use this method, first, browse the vast WordPress library of cache plugins and choose a suitable one.

Then install and activate a plugin.

For this demonstration we will use three popular options:

 

WP Super Cache

Once you’ve installed the plugin, open the menu, browse the options, make changes to your preferences and click on Delete Cache:

 

W3 Total Cache

Install the plugin and go through the setup process:

 

Once you are done, enter the plugin’s dashboard and click on empty all caches:

 

WP Fastest Cache

Once you have installed the plugin, have a look at the settings, manage your preferences and then go to the Delete Cache tab, select an option and delete the cache:

 

Conclusion

Sometimes, the cache won’t register the changes you’ve made on your WordPress website, and may not display them to visitors. This is why it is advisable to clear these files regularly. This ensures fast loading speeds of your web pages and displays the latest version of your site to visitors.

 

Was this article useful?

Click on a star to rate it!

Average rating 0 / 5. Vote count: 0

No votes so far! Be the first to rate this post.

Newest Articles:

How to fix HTTP Error 410 Gone in WordPress

HTTP Error 410 is a response status code that your WordPress website displays in the event of a requested file that is no longer available on the requested server now and in the future. To be labeled as a 410 error, the response code also must not include a forwarding...

How to Fix HTTP Error 409 Conflict in WordPress

It is highly likely to stumble upon various error messages when creating your WordPress site. One such is HTTP Error 409 Conflict. Although not so popular such as Page not Found or 429 Too Many Requests, it can still pop up when at least expected. This is why it is...

How to Fix Error 408 Request Timeout in WordPress

Error 408 Request Timeout is a client-side error code – it indicates that the request the Internet browser has made to the web server takes too much time and the server terminates the connection. Indeed, this is the reason why WordPress displays 408 Request Timeout....

How to Fix Error 407 Proxy Authentication Required in WordPress

The 407 Proxy Authentication Required is a type of error that WordPress displays when the server is unable to complete a request. This is a specific error, which indicates that there is a lack of authentication when a proxy server is used between the communication of...

How to Fix Error 406 Not Acceptable in WordPress

Although Error 406 Not Acceptable is not as common as Error 404 page not found, there’s still a chance that you can stumble upon it when working on your site. Since this is a 4xx error message, it indicates that something’s wrong with the client side of the...

Ready to Create Your Website?