help center

Search
Close this search box.
On this page

Activate caching

Last Update: April 21, 2024

Caching is a way to decrease page load times. The Elementor live server stores the website’s HTML, meaning each request to view a page requires communication between the server and the visitor’s computer. 

With caching, your site’s assets, such as images, and HTML, are stored on the global Cloudflare Content Distribution Network (CDN). With worldwide distribution, the CDN will be able to deliver pages to website visitors faster – decreasing bounce rates and increasing SEO scores.

Note
In WordPress, the term “Post” refers to pages, posts and all other custom posts types. In this article, caching posts refers to both pages and posts.
Note
Cache clearing takes approximately 30 seconds.

Website speed measurement

You can use the following third-party tools to measure website speed:

Key features of caching

  • Improved website performance: Significantly reduces Time to First Byte (TTFB) for faster loading times. Advanced caching provides you with total control over your website caching, and allows you to easily configure which pages you want to cache and which ones to not cache.
  • Granular control: Configure caching for specific pages based on your needs (cache or exclude).
  • WooCommerce compatibility: Fully functional with WooCommerce stores.
  • Compatibility with other caching plugins: Our advanced caching is recommended, but existing plugins with additional functionalities (e.g., image compression) can be used alongside.

Disadvantage of caching

When you cache pages, you are storing a copy of the page on the CDN. This means any changes you make, or that are made dynamically, to the page, will not be seen by site visitors until the cache is cleared. This could be an issue for pages like an event schedule where you may be making last minute changes, while your visitors are viewing cached pages with outdated information. 

Our system automatically clears cache for modified pages, ensuring visitors see the latest version.  To further enhance content delivery, we recommend exploring these features:

  • Exclude from Cache: Mark specific pages as static, preventing unnecessary cache clearing.
  • Always Clear Cache: Utilize this for frequently updated content (e.g., schedules) to guarantee users always receive the most recent information.
  • Manual Cache Clearing: Consider manually clearing the cache for critical updates or during high-traffic periods.

By strategically using these features, you can ensure optimal content delivery and user experience.

Access caching

Note
Advanced caching is automatically activated for all Elementor hosted websites. You can disable it, if required.

To activate caching, follow these steps:

  1. Login to WP Admin.
  2. Go to Hosting > Advance Caching.
    Activate advanced caching 5

Deactivate advance caching

Follow these steps:

  1. Login to WP Admin.
  2. Go to Hosting > Advanced Caching.
    Activate advanced caching 6
  3. From Status, choose Disable.
    Notice the other options disappear as soon as you disable.
  4. Click Save Changes.
Note
When you edit a cached post, your changes will not appear to site visitors until the cache is cleared. If you’re logged into a site, you’ll be looking at the live version of the post, which could be different from the cached version which your visitors are reading.

Caching options

Cache timeout

When a visitor goes to a post for the first time, the assets and the HTML are loaded into the cache, where they can quickly be accessed by any visitor around the world.

Cache timeout refers to the duration for which a post is stored in the cache.

  • For websites that are updated often, a shorter cache duration is preferable to ensure content is current. 
  • For websites that are updated less frequently, it is beneficial to have a longer cache duration to reduce loading times.
Note
By default, Cache timeout is set to 7 days, meaning the cache will be cleared every 7 days unless you update the content.

To change the cache timeout, follow these steps:

  1. Login to WP Admin.
  2. Go to Hosting > Advance Caching.
  3. From Cache timeout, choose the desired duration.
    Activate advanced caching 7
  4. Click Save Changes.

Exclude from cache

Your site may include posts, or groups of posts that you do not want to cache. This may apply to the following types of posts:

  • Specific URLs that feature content which is also available on other posts, such as course listings or unique product offerings. 
  • Posts that contain personalized information, like those that display different content depending on the user’s location.

The goal is to ensure that visitors always access the most up-to-date information.

Note
There are also some predefined exclusions to help dynamic content remain fresh.

To exclude posts from the cache, follow these steps:

  1. Login to WP Admin.
  2. Go to Hosting > Advance Caching.
  3. In Exclude from cache, enter the relative paths (everything after “.com”).
    Note
    Enter each path on a new line. Include the beginning and end slashes. The definitions can include wildcards (*).

    Activate advanced caching 1
    Examples:
    • /* (This will include all the posts in a directory)
    • /foo (This will include the post in the directory called “foo”)
    • /*foo (This will include all posts in the directory that end with “foo”)
    • /foo* (This will include all posts in the directory that begin with “foo”)
    • /*foo* (This will include all posts in the directory that have “foo” in them)
    • /bar*/ (This will include all posts in a directory that begins with with “bar”)
    • /*bar/ (This will include all posts in a directory that ends with with “bar”)
    • /*bar*/ (This will include all posts in a directory that has “bar” in it)
    • /baz/faz (This will include the posts “faz” in the directory “baz”)
    • /*baz/faz (This will include all the posts named “faz” in directories that begin with “baz”)
    • /baz*/faz (This will include all the posts named “faz” in directories that end with “baz”
    • /baz/*faz (This includes all the posts that end with “faz” in the directory “baz”)
    • /baz/faz* (This includes all the posts that begin with “faz” in the directory “baz”)
    • /*baz*/*faz* (This includes all posts with “faz” in them, located in any directory that has “baz” in it.)
  4. Click Save Changes.

To see built in excluded rules, expand Show excluded rules.

Activate advanced caching 8

Always clear cache

For frequently updated content (for example, daily schedules), enable “Always clear cache.” This ensures the latest version is served upon each request, eliminating outdated information from cached versions.

Follow these steps, to mark posts as Always clear cache:

  1. Login to WP Admin.
  2. Go to Hosting > Advance Caching.
  3. In Always Clear from cache, enter the definition of the pages you do not want cached.
    Activate advanced caching 4
    Note
    Define these posts by relative path patterns. Include the beginning and end slashes. The definitions assume you are using a wildcard.

    Following are the examples of acceptable definitions:
    • /foo (This will include all posts in the directory beginning with “foo”)
    • /bar/ (This will include all the posts in the directory named “bar”
    • /baz/faz (This will include all posts that begin with “faz” in the directory “baz”)
  4. Click Save Changes.

Clear cache items manually

If you need to refresh your site, you can manually clear all cached items.. There are two ways to manually clear the cache:

Follow these steps:

  1. Login to WP Admin.
  2. Go to Hosting > Advance Caching.
  3. You can clear cache by doing any of these:
    • Click Clear All for Clear all cached items.
      Activate advanced caching 2
    • From top toolbar, click Clear Posts Cache.
      Activate advanced caching 3

Have more questions? We’re more than happy to assist.

Link is copied to clipboard!
On this page

Is this article helpful?

Share this article

Platinum popup banner