Caching can be a complicated topic. There are so many different caching plugins that you can use, caching options that you can employ, and different errors caused by caching.

We’re here to break down caching basics with The Events Calendar so that you don’t run into issues with caching. So let’s get started!

Using caching with The Events Calendar

Our plugins make use of caching, without any action taken on your part. However, if you do choose to use an external caching service or plugin, performance might be affected because they can cache or minify code, which can cause issues with your calendar.

Some hosting providers offer background caching to for faster hosting. This option may need adjustments. In this case, we’d recommend excluding our plugin files.

For best results:

  1. Set /events* to expire every 12 hours. Longer delays will cause issues.
  2. Make sure our CSS and Javascript files are ignored by your caching plugin.
    Simply add the following plugin directory paths as exclusions from cache.
Plugin NameAssets Folder
The Events Calendar/wp-content/plugins/the-events-calendar/(.*).css
/wp-content/plugins/the-events-calendar/(.*).js
Events Calendar Pro/wp-content/plugins/events-calendar-pro/(.*).css
/wp-content/plugins/events-calendar-pro/(.*).js
Events Tickets/wp-content/plugins/event-tickets/(.*).css
/wp-content/plugins/event-tickets/(.*).js
Events Tickets Plus/wp-content/plugins/event-tickets-plus/(.*).css
/wp-content/plugins/event-tickets-plus/(.*).js
Filter Bar/wp-content/plugins/the-events-calendar-filterbar/(.*).css
/wp-content/plugins/the-events-calendar-filterbar/(.*).js
Virtual Events/wp-content/plugins/events-virtual/(.*).css
/wp-content/plugins/events-virtual/(.*).js
Community Events/wp-content/plugins/the-events-calendar-community-events/(.*).css
/wp-content/plugins/the-events-calendar-community-events/(.*).js
Community Tickets/wp-content/plugins/the-events-calendar-community-events-tickets/(.*).css
/wp-content/plugins/the-events-calendar-community-events-tickets/(.*).js
Eventbrite Tickets/wp-content/plugins/the-events-calendar-eventbrite-tickets/(.*).css
/wp-content/plugins/the-events-calendar-eventbrite-tickets/(.*).js

👋 For more information on caching and how to set up the most popular caching plugins with The Events Calendar check out our Caching Guide.