Some WordPress plugins or web hosts minify your scripts and stylesheets, which can sometimes be the cause of front-end loading or display errors for The Events Calendar.

One of the most common reasons for errors when using caching or minification plugins (a single plugin or service will offer both caching and minifying features) is that the order of scripts and stylesheets loaded on a page is altered in a problematic way.

If you have a caching or minification plugin enabled and notice the front-end of your site works once you disable minification, then we’d recommend you not minify.

If you want or need to minify and the plugin or web hosting service allows you to ignore scripts and stylesheets from specific sources, then you should set it to ignore assets from The Events Calendar and its add-on plugins.

Plugin folders

Here is a list of the asset folders of each of our plugins that should be ignored.
If you’re using WP Rocket, you can use these values in File Optimization and CDN tabs from WP Rocket settings.

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

But what about performance?

The Events Calendar and all of its add-ons, by default, load minified JavaScript, minified CSS, and optimized images.

Even if you ignore The Events Calendar’s assets in your minification setup, our plugins’ optimized assets will load in a high-performance manner.