{"id":1952858,"date":"2022-05-18T10:31:01","date_gmt":"2022-05-18T14:31:01","guid":{"rendered":"https:\/\/staging.theeventscalendar.com\/knowledgebase\/?post_type=tribe-knowledgebase&#038;p=1952858"},"modified":"2024-08-20T11:12:14","modified_gmt":"2024-08-20T15:12:14","slug":"wp-optimize","status":"publish","type":"post","link":"https:\/\/staging.theeventscalendar.com\/knowledgebase\/wp-optimize\/","title":{"rendered":"WP-Optimize"},"content":{"rendered":"\n<p><strong>Current Status:<\/strong> <span class=\"tec-compatibility-status tec-status-incompatible\" style=\"border: none; background-color: #334AFF; text-transform: uppercase; border-radius:28px; padding: 10px 20px; color: #fff; font-size: 14px; font-weight: 600;\">compatible<\/span><\/p>\n\n<p><a href=\"https:\/\/en-ca.wordpress.org\/plugins\/wp-optimize\/\" target=\"_blank\" rel=\"noreferrer noopener\">WP-Optimize Cache<\/a> is a popular all-in-one WordPress performance plugin that caches your site, cleans your database, and compresses your images.<\/p>\n\n<p>In this article, we&#8217;ll show you how to use WP-Optimize with The Events Calendar to give your site and your events the best performance possible. There are plenty of settings to explore in the <a href=\"https:\/\/getwpo.com\/documentation\/\" target=\"_blank\" rel=\"noreferrer noopener\">documentation<\/a>, but we&#8217;ll cover calendar-specific settings here.<\/p>\n\n<h2 class=\"wp-block-heading\" id=\"h-what-you-need\">What you need<\/h2>\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/theeventscalendar.com\/products\/wordpress-events-calendar\/\" target=\"_blank\" rel=\"noreferrer noopener\">The Events Calendar<\/a><\/li>\n\n<li><a href=\"https:\/\/en-ca.wordpress.org\/plugins\/wp-optimize\/\" target=\"_blank\" rel=\"noreferrer noopener\">WP-Optimize<\/a><\/li>\n<\/ul>\n\n<h2 class=\"wp-block-heading\">Minify Settings<\/h2>\n\n<p>In order to work with The Events Calendar, you&#8217;ll want to make sure that the minification settings are turned off. Head over to <strong>WP-Optimize &gt; Minify<\/strong> and toggle the <strong>Enable Minify<\/strong> button to the off position.<\/p>\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" src=\"https:\/\/images.theeventscalendar.com\/kb\/uploads\/2022\/05\/Screen-Shot-2022-05-18-at-12.57.42-PM.png\" alt=\"WP-Optimize minification turned off\" class=\"wp-image-1952859\"\/><\/figure>\n\n<h2 class=\"wp-block-heading\" id=\"h-cache-settings\">Cache settings<\/h2>\n\n<p>The other 2 important settings to look for are under <strong>Cache<\/strong>. <\/p>\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"197\" height=\"232\" src=\"https:\/\/images.theeventscalendar.com\/kb\/uploads\/2023\/08\/image-1.png\" alt=\"\" class=\"wp-image-1958040\"\/><\/figure>\n\n<h3 class=\"wp-block-heading\">1. Page Cache<\/h3>\n\n<p>Under <em>Cache Settings<\/em>, Set the Cache lifespan to 12 hours<\/p>\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"796\" height=\"670\" src=\"https:\/\/images.theeventscalendar.com\/kb\/uploads\/2023\/08\/image.png\" alt=\"\" class=\"wp-image-1958039\" srcset=\"https:\/\/images.theeventscalendar.com\/kb\/uploads\/2023\/08\/image.png 796w, https:\/\/images.theeventscalendar.com\/kb\/uploads\/2023\/08\/image-300x253.png 300w, https:\/\/images.theeventscalendar.com\/kb\/uploads\/2023\/08\/image-768x646.png 768w\" sizes=\"auto, (max-width: 796px) 100vw, 796px\" \/><\/figure>\n\n<h3 class=\"wp-block-heading\" id=\"h-2-advanced-settings\">2. Advanced settings<\/h3>\n\n<p>There, you can exclude your event URLs specifically from being cached.<\/p>\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/images.theeventscalendar.com\/kb\/uploads\/2022\/05\/Screen-Shot-2022-05-18-at-1.26.27-PM-1024x367.png\" alt=\"\" class=\"wp-image-1952860\"\/><\/figure>\n\n<h2 class=\"wp-block-heading\" id=\"h-plugin-folders\">Plugin Folders<\/h2>\n\n<p><meta charset=\"utf-8\">Here is a list of the asset folders of each of our plugins that should be ignored.<\/p>\n\n<figure class=\"wp-block-table\"><table><thead><tr><th>Plugin Name<\/th><th>Assets Folder<\/th><\/tr><\/thead><tbody><tr><td>The Events Calendar<\/td><td><code>\/wp-content\/plugins\/the-events-calendar\/(.*).css<\/code><br><code>\/wp-content\/plugins\/the-events-calendar\/(.*).js<\/code><\/td><\/tr><tr><td>Events Calendar Pro<\/td><td><code>\/wp-content\/plugins\/events-calendar-pro\/(.*).css<\/code><br><code>\/wp-content\/plugins\/events-calendar-pro\/(.*).js<\/code><\/td><\/tr><tr><td>Events Tickets<\/td><td><code>\/wp-content\/plugins\/event-tickets\/(.*).css<\/code><br><code>\/wp-content\/plugins\/event-tickets\/(.*).js<\/code><\/td><\/tr><tr><td>Events Tickets Plus<\/td><td><code>\/wp-content\/plugins\/event-tickets-plus\/(.*).css<\/code><br><code>\/wp-content\/plugins\/event-tickets-plus\/(.*).js<\/code><\/td><\/tr><tr><td>Filter Bar<\/td><td><code>\/wp-content\/plugins\/the-events-calendar-filterbar\/(.*).css<\/code><br><code>\/wp-content\/plugins\/the-events-calendar-filterbar\/(.*).js<\/code><\/td><\/tr><tr><td>Community Events<\/td><td><code>\/wp-content\/plugins\/the-events-calendar-community-events\/(.*).css<\/code><br><code>\/wp-content\/plugins\/the-events-calendar-community-events\/(.*).js<\/code><\/td><\/tr><tr><td>Eventbrite Tickets<\/td><td><code>\/wp-content\/plugins\/the-events-calendar-eventbrite-tickets\/(.*).css<\/code><br><code>\/wp-content\/plugins\/the-events-calendar-eventbrite-tickets\/(.*).js<\/code><\/td><\/tr><\/tbody><\/table><\/figure>\n\n<h2 class=\"wp-block-heading\">To copy-paste<\/h2>\n\n<p>You can use the below to copy-paste all CSS and JavaScript asset resources easily.<\/p>\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: php; title: ; notranslate\" title=\"\">\n\/wp-content\/plugins\/the-events-calendar\/(.*).css\n\/wp-content\/plugins\/events-calendar-pro\/(.*).css\n\/wp-content\/plugins\/event-tickets\/(.*).css\n\/wp-content\/plugins\/event-tickets-plus\/(.*).css\n\/wp-content\/plugins\/the-events-calendar-filterbar\/(.*).css\n\/wp-content\/plugins\/the-events-calendar-community-events\/(.*).css\n\/wp-content\/plugins\/the-events-calendar-eventbrite-tickets\/(.*).css\/wp-content\/plugins\/the-events-calendar\/(.*).js\n\/wp-content\/plugins\/events-calendar-pro\/(.*).js\n\/wp-content\/plugins\/event-tickets\/(.*).js\n\/wp-content\/plugins\/event-tickets-plus\/(.*).js\n\/wp-content\/plugins\/the-events-calendar-filterbar\/(.*).js\n\/wp-content\/plugins\/the-events-calendar-community-events\/(.*).js\n\/wp-content\/plugins\/the-events-calendar-eventbrite-tickets\/(.*).js\n<\/pre><\/div>","protected":false},"excerpt":{"rendered":"<p>WP-Optimize Cache is a popular all-in-one WordPress performance plugin that caches your site, cleans your database, and compresses your images. In this article, we&#8217;ll show you how to use WP-Optimize with The Events Calendar to give your site and your events the best performance possible. There are plenty of settings to explore in the documentation,&#8230;<\/p>\n","protected":false},"author":46,"featured_media":1955565,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_kad_blocks_custom_css":"","_kad_blocks_head_custom_js":"","_kad_blocks_body_custom_js":"","_kad_blocks_footer_custom_js":"","_swpsp_post_exclude":false,"_kad_post_transparent":"","_kad_post_title":"","_kad_post_layout":"","_kad_post_sidebar_id":"","_kad_post_content_style":"","_kad_post_vertical_padding":"","_kad_post_feature":"","_kad_post_feature_position":"","_kad_post_header":false,"_kad_post_footer":false,"ep_exclude_from_search":false,"footnotes":""},"categories":[46],"tags":[19,57],"stellar-product-taxonomy":[161],"class_list":["post-1952858","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-integrations","tag-caching","tag-performance","stellar-product-taxonomy-the-events-calendar"],"acf":[],"taxonomy_info":{"category":[{"value":46,"label":"Integrations"}],"post_tag":[{"value":19,"label":"Caching"},{"value":57,"label":"Performance"}],"stellar-product-taxonomy":[{"value":161,"label":"The Events Calendar"}]},"featured_image_src_large":["https:\/\/images.theeventscalendar.com\/kb\/uploads\/2023\/02\/social-share-1024x538.png",1024,538,true],"author_info":{"display_name":"Iris Irvin","author_link":"https:\/\/staging.theeventscalendar.com\/knowledgebase\/author\/iris\/"},"comment_info":0,"category_info":[{"term_id":46,"name":"Integrations","slug":"integrations","term_group":0,"term_taxonomy_id":46,"taxonomy":"category","description":"","parent":0,"count":115,"filter":"raw","term_order":"0","cat_ID":46,"category_count":115,"category_description":"","cat_name":"Integrations","category_nicename":"integrations","category_parent":0}],"tag_info":[{"term_id":19,"name":"Caching","slug":"caching","term_group":0,"term_taxonomy_id":19,"taxonomy":"post_tag","description":"Learn all about how you can optimize your calendar\u2019s speed and performance with The Events Calendar with these Knowledgebase articles.","parent":0,"count":22,"filter":"raw","term_order":"0"},{"term_id":57,"name":"Performance","slug":"performance","term_group":0,"term_taxonomy_id":57,"taxonomy":"post_tag","description":"Learn all about how you can optimize your calendar's performance with The Events Calendar with these Knowledgebase articles.","parent":0,"count":25,"filter":"raw","term_order":"0"}],"_links":{"self":[{"href":"https:\/\/staging.theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/posts\/1952858","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/staging.theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/staging.theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/staging.theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/users\/46"}],"replies":[{"embeddable":true,"href":"https:\/\/staging.theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/comments?post=1952858"}],"version-history":[{"count":10,"href":"https:\/\/staging.theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/posts\/1952858\/revisions"}],"predecessor-version":[{"id":1962509,"href":"https:\/\/staging.theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/posts\/1952858\/revisions\/1962509"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/staging.theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/media\/1955565"}],"wp:attachment":[{"href":"https:\/\/staging.theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/media?parent=1952858"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/staging.theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/categories?post=1952858"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/staging.theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/tags?post=1952858"},{"taxonomy":"stellar-product-taxonomy","embeddable":true,"href":"https:\/\/staging.theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/stellar-product-taxonomy?post=1952858"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}