{"id":1569050,"date":"2018-07-06T06:20:25","date_gmt":"2018-07-06T13:20:25","guid":{"rendered":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/extremely-slow-page-loads-when-events-calendar-pro-is-in-use\/"},"modified":"2018-07-06T06:20:25","modified_gmt":"2018-07-06T13:20:25","slug":"extremely-slow-page-loads-when-events-calendar-pro-is-in-use","status":"closed","type":"topic","link":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/extremely-slow-page-loads-when-events-calendar-pro-is-in-use\/","title":{"rendered":"extremely slow page loads when Events Calendar Pro is in use"},"content":{"rendered":"<p>I\u2019m using The Events Calendar for the first time and like many things about it, but I\u2019m finding that it\u2019s absolutely destroying my page load times. I\u2019ve read through all the docs I can find, including the knowledge base, and although there are a lot of great suggestions there, none of them help my dev site.<\/p>\n<p>Background: I\u2019m using a widely-used theme (Total) that I\u2019ve used many dozens of times on other sites, and on the server I\u2019m using (SiteGround) would expect a Home page with the features I\u2019m using to load in about 2.5-3.5 seconds. With The Events Calendar in use, the actual loading time is a gruesome 6.5-8.5 seconds. Ouch!! When I disable Events Calendar and Events Calendar Pro, the page immediately loads in about what I\u2019d expect: 3.25-3.5 seconds in repeated tests. The only action I need to take to get this 50% savings in load time is disabling the Events Calendar.<\/p>\n<p>I know there are a ton of things that can affect performance, so here\u2019s a description of the server environment, WP config, and the things I\u2019ve tried to fix this element:<\/p>\n<p>\u2013 PHP version is 7.1.8, which I know is not the recommended 7.2 but is pretty close<br \/>\n\u2013 WP_MEMORY_LIMIT is 256M<br \/>\n\u2013 there\u2019s some level of caching and CSS\/JS minification happening via the free tier of Cloudflare<br \/>\n\u2013 I\u2019ve installed and run WP-Optimize to eliminate database clutter<br \/>\n\u2013 I\u2019ve enabled the Month View Cache (under Events &gt; Settings &gt; Display tab)<br \/>\n\u2013 I\u2019ve set the Events Calendar to only show two events when clicking a date. not sure if that matters, but trying to keep the query light.<br \/>\n\u2013 the current month view (July 2018) only has a couple of events, so it\u2019s not as if there are dozens and dozens of event listings in the query for the active view<br \/>\n\u2013 there are a few recurring events in the database, with probably approx 100 total instances (including single and recurring events). all events are pretty light in content, just a sentence or two of description and very few images or anything else beyond the basic commonly used fields.<br \/>\n\u2013 I\u2019m using the Events Calendar Category Colors plugin, which doesn\u2019t seem like it should be a resource hog, but I mention it just to leave no known stone unturned<br \/>\n\u2013 SiteGround offers its own server-side caching, and I\u2019ve set that up and configured it properly BUT it\u2019s not yet active because I\u2019m running the site off a temporary dev URL and not the \u201creal\u201d URL that it will be running from post-launch. SG support says the SuperCacher is domain-specific, so I guess there\u2019s a chance some server caching benefits might kick in after launch, but I\u2019m sure not willing to bet on that and would love to have a solution before go-live, for obvious reasons.<\/p>\n<p>Sorry for the long post, but I know if I didn\u2019t lay out all the above, people would (correctly) suggest a lot of stuff I\u2019ve already tried. I\u2019d be extremely grateful for any insights on this so-far intractable problem. . .<\/p>\n","protected":false},"template":"","class_list":["post-1569050","topic","type-topic","status-closed","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v25.2 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>extremely slow page loads when Events Calendar Pro is in use -<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/extremely-slow-page-loads-when-events-calendar-pro-is-in-use\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"extremely slow page loads when Events Calendar Pro is in use -\" \/>\n<meta property=\"og:description\" content=\"I\u2019m using The Events Calendar for the first time and like many things about it, but I\u2019m finding that it\u2019s absolutely destroying my page load times. I\u2019ve read through all the docs I can find, including the knowledge base, and although there are a lot of great suggestions there, none of them help my dev [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/extremely-slow-page-loads-when-events-calendar-pro-is-in-use\/\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/extremely-slow-page-loads-when-events-calendar-pro-is-in-use\/\",\"url\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/extremely-slow-page-loads-when-events-calendar-pro-is-in-use\/\",\"name\":\"extremely slow page loads when Events Calendar Pro is in use -\",\"isPartOf\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/#website\"},\"datePublished\":\"2018-07-06T13:20:25+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/extremely-slow-page-loads-when-events-calendar-pro-is-in-use\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/extremely-slow-page-loads-when-events-calendar-pro-is-in-use\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/extremely-slow-page-loads-when-events-calendar-pro-is-in-use\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/theeventscalendar.com\/support\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Topics\",\"item\":\"https:\/\/theeventscalendar.com\/support\/topics\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Calendar Products\",\"item\":\"https:\/\/theeventscalendar.com\/support\/forums\/forum\/events\/\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"Events Calendar PRO\",\"item\":\"https:\/\/theeventscalendar.com\/support\/forums\/forum\/events\/events-calendar-pro\/\"},{\"@type\":\"ListItem\",\"position\":5,\"name\":\"extremely slow page loads when Events Calendar Pro is in use\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/theeventscalendar.com\/support\/#website\",\"url\":\"https:\/\/theeventscalendar.com\/support\/\",\"name\":\"\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/theeventscalendar.com\/support\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"extremely slow page loads when Events Calendar Pro is in use -","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/extremely-slow-page-loads-when-events-calendar-pro-is-in-use\/","og_locale":"en_US","og_type":"article","og_title":"extremely slow page loads when Events Calendar Pro is in use -","og_description":"I\u2019m using The Events Calendar for the first time and like many things about it, but I\u2019m finding that it\u2019s absolutely destroying my page load times. I\u2019ve read through all the docs I can find, including the knowledge base, and although there are a lot of great suggestions there, none of them help my dev [&hellip;]","og_url":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/extremely-slow-page-loads-when-events-calendar-pro-is-in-use\/","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/extremely-slow-page-loads-when-events-calendar-pro-is-in-use\/","url":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/extremely-slow-page-loads-when-events-calendar-pro-is-in-use\/","name":"extremely slow page loads when Events Calendar Pro is in use -","isPartOf":{"@id":"https:\/\/theeventscalendar.com\/support\/#website"},"datePublished":"2018-07-06T13:20:25+00:00","breadcrumb":{"@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/extremely-slow-page-loads-when-events-calendar-pro-is-in-use\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/theeventscalendar.com\/support\/forums\/topic\/extremely-slow-page-loads-when-events-calendar-pro-is-in-use\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/extremely-slow-page-loads-when-events-calendar-pro-is-in-use\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/theeventscalendar.com\/support\/"},{"@type":"ListItem","position":2,"name":"Topics","item":"https:\/\/theeventscalendar.com\/support\/topics\/"},{"@type":"ListItem","position":3,"name":"Calendar Products","item":"https:\/\/theeventscalendar.com\/support\/forums\/forum\/events\/"},{"@type":"ListItem","position":4,"name":"Events Calendar PRO","item":"https:\/\/theeventscalendar.com\/support\/forums\/forum\/events\/events-calendar-pro\/"},{"@type":"ListItem","position":5,"name":"extremely slow page loads when Events Calendar Pro is in use"}]},{"@type":"WebSite","@id":"https:\/\/theeventscalendar.com\/support\/#website","url":"https:\/\/theeventscalendar.com\/support\/","name":"","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/theeventscalendar.com\/support\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"}]}},"_links":{"self":[{"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/topic\/1569050","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/topic\/1569050\/revisions"}],"wp:attachment":[{"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/media?parent=1569050"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}