A cache is a place to temporarily store data is possibly the most effective way to decrease loading times of your web pages and bring content to your visitors quickly. When you return to a frequently accessed website, chances are that your browser will have a good portion of the site’s files stored within its cache. This means that the browser needs to receive less ‘fresh’ information from the site, resulting in a faster load time.
There are many different type of caching solutions available. The most popular are plug-ins and two of the most popular WordPress caching plugins are WP Super Cache and W3 Total Cache. Both have several million active installations between them. They offer a comprehensive caching solution for use on your WordPress site and offer an easy to use interface for controlling what to cache, when to expire cached content.
At the top of the list is WP Super Cache: the most downloaded caching plugin on the market. It offers a more welcoming interface and a variety of easy to understand caching options that are targeted towards ease-of-use and performance. Also, it’s free, easy to use and requires little to no configuration. WP Super Cache also enables you to change the order in which plugins load, so if you need certain plugins to load with lighting speed, you can do with this plugin.
WP Super Cache comes with a scheduler that clears cached pages at a time that you can designate in advance. It also supports Content Delivery Networks (CDNs) and can export your customized settings so that you can import them into your future sites. For your convenience, WP Super Cache has a support forum where can you address with any questions regarding this product.
W3 Total Cache, the second most downloaded caching plugin on the market, offers a huge suite of caching features, most of which are only available to premium users. Yet, the free version of this plugin still offers you the ability to cache many aspects of your site. With 16 pages of configuration options, you’ll be able to tailor a caching solution to your precise specifications. W3 Total Cache also supports Content Delivery Networks and it utilizes file minification and GZIP compression, to reduce loading time. Apart from the w3-edge also have their own support forums, articles and contacts if you ever need any help.
Default WordPress object cache
Another caching mechanism you could take advantage of is the default WordPress object cache. You can enable or disable the native WordPress object cache using your wp-config.php file, like so.
Simply add the above code directly above
/* That's all, stop editing! Happy blogging. */ using any text editor (Notepad is fine) and save the file. This caching method is also referenced within the WordPress Codex under: Editing wp-config.php.
Cached Files on your Server
You can use your preferred FTP Client to locate the cached files on your server. Typically these files are stored within a folder titled cache. This folder is located within the wp-content folder of your WordPress installation, like so (or slightly different based on your setup):
When it comes to cache issues on your website, browsers can also play a part. Each browser has its own independent cache as well. To have full control over what elements you’re deleting you can follow one of the browser-specific solutions below.
If you’re a Chrome browser user then you can clear your browser cache via the Settings => History => Clear Browsing Data menu option.
Users of the Firefox browser can empty their cache via the Options => Privacy menu. Simply click the Settings button under the History heading. You can then choose which elements of your browser cache to delete.
Edge & Safari
Users of the Edge browser can clear their cache via the Settings => Choose What to Clear option. Simply check the elements you would like to clear and click the Clear button. When using Safari, users can clear their browser cache via the Reset Safari menu option.