{"id":1973,"date":"2019-11-05T12:19:01","date_gmt":"2019-11-05T12:19:01","guid":{"rendered":"https:\/\/webnus.site\/dox\/?p=1973"},"modified":"2026-10-29T06:40:05","modified_gmt":"2026-10-29T06:40:05","slug":"how-to-increase-modern-events-calendar-load-speed","status":"publish","type":"knowledgebase","link":"https:\/\/webnus.net\/dox\/modern-events-calendar\/how-to-increase-modern-events-calendar-load-speed\/","title":{"rendered":"How To Increase Modern Events Calendar Load Speed?"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Check_the_Latest_Update\"><\/span>Check the Latest Update<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">First of all, make sure that you have the <a href=\"https:\/\/mec.webnus.net\/change-log\/\">latest version of MEC<\/a>. Every release includes performance improvements and compatibility fixes, so running an outdated version is one of the most common causes of slow pages.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Note:<\/strong> MEC is compatible with PHP 5.6 and above and is fully tested with the latest PHP 8.x releases. We strongly recommend running <strong>PHP 8.1 or higher<\/strong> on your server. Older PHP branches (5.6, 7.0, 7.1, 7.4) are end-of-life, no longer receive security updates, and are noticeably slower than PHP 8. You can check your current PHP version under <strong>Tools \u2192 Site Health \u2192 Info \u2192 Server<\/strong> and ask your hosting provider to upgrade it if needed.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Use_the_Assets_Per_Page_Feature\"><\/span>Use the Assets Per Page Feature<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Regarding the low speed of your website, you can manage the resources that MEC includes in pages by using the <strong>Assets Per Page<\/strong> feature:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Go to <strong>MEC Settings \u2192 General Settings \u2192 Assets (CSS and JavaScript files)<\/strong>.<\/li>\n\n\n\n<li>Enable <strong>Assets Per Page<\/strong>. With this option, MEC stops loading its CSS and JavaScript files on every page of your site.<\/li>\n\n\n\n<li>Then edit each page where a calendar or shortcode is placed and enable the <strong>Include MEC Assets<\/strong> option in the page options (sidebar metabox), so MEC assets load only where they are actually needed.<\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">You can also enable the <strong>Load Assets in Footer<\/strong> option in the same section to move MEC scripts from the header to the footer, which improves perceived loading time and Core Web Vitals scores.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Rule_Out_Plugin_and_Theme_Conflicts\"><\/span>Rule Out Plugin and Theme Conflicts<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Deactivate all your plugins except MEC, set your theme on a default theme (such as Twenty Twenty-Five), then reload the page. If the issue was solved, activate your plugins one by one, refreshing the page each time, and check which plugin is causing the issue.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Check_the_Server_Configuration_cURL_and_TTFB\"><\/span>Check the Server Configuration (cURL and TTFB)<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Make sure that cURL is enabled on your server \u2014 WordPress\u2019s HTTP API (which MEC uses for all external requests) relies on it. Your hosting provider can enable it for you.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">If MEC is not the cause, ask your hosting provider to investigate your website\u2019s <a href=\"https:\/\/wordpress.org\/support\/topic\/extremely-slow-ttfb\/\" target=\"_blank\" rel=\"noopener\">TTFB (Time To First Byte)<\/a>. A high TTFB usually points to slow hosting, a lack of server-side caching, or an overloaded database rather than to any plugin.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Use_Caching_and_Optimization\"><\/span>Use Caching and Optimization<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">For in-depth speed improvement, combine MEC\u2019s built-in options with standard WordPress optimization:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Install a caching plugin (LiteSpeed Cache, WP Rocket, W3 Total Cache, or your host\u2019s built-in cache) and enable page caching.<\/li>\n\n\n\n<li>Exclude MEC\u2019s AJAX endpoints (URLs containing <code>\/wp-admin\/admin-ajax.php<\/code>) from caching, so calendars and booking forms keep working correctly.<\/li>\n\n\n\n<li>Use a CDN (Cloudflare, BunnyCDN, etc.) to serve static files from servers closer to your visitors.<\/li>\n\n\n\n<li>Minify and combine CSS\/JS files, and enable lazy loading for images.<\/li>\n\n\n\n<li>Keep your WordPress, theme, and all plugins updated.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Test_With_GTmetrix_and_PageSpeed_Insights\"><\/span>Test With GTmetrix and PageSpeed Insights<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Run your website through <a href=\"https:\/\/gtmetrix.com\/\" target=\"_blank\" rel=\"noopener\">GTmetrix<\/a> or <a href=\"https:\/\/pagespeed.web.dev\/\" target=\"_blank\" rel=\"noopener\">Google PageSpeed Insights<\/a> to identify exactly what is slowing it down.<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p class=\"wp-block-paragraph\"><strong>Performance report<\/strong><br>\nThe performance report includes your grade and Core Web Vitals: LCP (Largest Contentful Paint), INP (Interaction to Next Paint), and CLS (Cumulative Layout Shift).<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Structure tab<\/strong><br>\nThis tab lists actionable issues such as \u201celiminate render-blocking resources\u201d and \u201cminify CSS\u201d that you should address first.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Waterfall chart<\/strong><br>\nThe waterfall chart displays every individual request on your page so you can see exactly which request is causing delays.<\/p>\n<\/blockquote>\n\n\n\n<p class=\"wp-block-paragraph\">If after following all steps above a specific request from MEC is still slow, please contact our <a href=\"https:\/\/webnus.net\/support\/\">support team<\/a> with your GTmetrix report attached.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/webnus.net\/dox\/modern-events-calendar\/wp-content\/uploads\/2023\/10\/gtmetrix.png\" alt=\"\" title=\"\"><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>First of all MEC is compatible with\u00a0PHP 7.0.x &#8211; 7.1.x &#8211; 5.6.x versions.<\/p>\n<p>With regard to the low speed of your website&#8217;s loading:<\/p>\n<p>Deactivate all your plugins<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","template":"","knowledgebase_cat":[49],"class_list":["post-1973","knowledgebase","type-knowledgebase","status-publish","hentry","knowledgebase_cat-knowledge-other"],"blocksy_meta":{"styles_descriptor":{"styles":{"desktop":"","tablet":"","mobile":""},"google_fonts":[],"version":8}},"_links":{"self":[{"href":"https:\/\/webnus.net\/dox\/modern-events-calendar\/wp-json\/wp\/v2\/knowledgebase\/1973","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/webnus.net\/dox\/modern-events-calendar\/wp-json\/wp\/v2\/knowledgebase"}],"about":[{"href":"https:\/\/webnus.net\/dox\/modern-events-calendar\/wp-json\/wp\/v2\/types\/knowledgebase"}],"author":[{"embeddable":true,"href":"https:\/\/webnus.net\/dox\/modern-events-calendar\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/webnus.net\/dox\/modern-events-calendar\/wp-json\/wp\/v2\/comments?post=1973"}],"version-history":[{"count":3,"href":"https:\/\/webnus.net\/dox\/modern-events-calendar\/wp-json\/wp\/v2\/knowledgebase\/1973\/revisions"}],"predecessor-version":[{"id":13802,"href":"https:\/\/webnus.net\/dox\/modern-events-calendar\/wp-json\/wp\/v2\/knowledgebase\/1973\/revisions\/13802"}],"wp:attachment":[{"href":"https:\/\/webnus.net\/dox\/modern-events-calendar\/wp-json\/wp\/v2\/media?parent=1973"}],"wp:term":[{"taxonomy":"knowledgebase_cat","embeddable":true,"href":"https:\/\/webnus.net\/dox\/modern-events-calendar\/wp-json\/wp\/v2\/knowledgebase_cat?post=1973"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}