Quick help: I’ve been hacked
View Categories

Cache

2 min read

Cache consists of small copies of parts of a website’s content that are stored to improve the site’s loading speed and optimize resources.

For example, your browser will temporarily store the file that defines a website’s style so it can keep using it as you continue browsing the same site (so it does not have to download it again each time).

Having cache on the website—especially on sites where there are pages whose content does not change and are visited repeatedly over a short period—can drastically reduce server resource usage. This is because generating each page makes intensive use of resources (reading and executing files, a high number of database queries) that are no longer necessary while a valid cached copy exists. This copy is invalidated after a few hours or when content is updated, so that the information displayed is at least recent.

“Clearing the cache” is a necessary process to be able to see the current version of a website.

Clear your browser cache #

Depending on the browser and operating system, you can do this by reloading the website using the following key combinations while viewing the website:

For Windows or Linux

  • Chrome / Firefox / Internet Explorer: Control + F5

For macOS

  • Chrome / Firefox: ⌘ (Command) + ⇧ (Shift) + R
  • Safari: This is done in two steps:
    • Clear the cache by pressing ⌘ (Command) + ⌥ (Option) + E
    • Reload the page by pressing ⌘ (Command) + R

Clear the cache on your website #

There are times when, while editing your website, the website cache may not have updated some content, or you may simply want it to be displayed before the next cache refresh.

Depending on the system, it is done differently, but the method is always very similar.

  1. Log in to the WordPress admin panel.
  2. In the top bar, look for the “Clear Cache” button or the “Performance” button.
    1. If “Clear cache“ appears, simply click it.
    2. If “Performance“ appears, click it to open the submenu and select “Clear all caches”.
  3. This will clear the cache currently stored on the website.
  4. After that, also clear your browser cache to see the current version.