Event Archive loads very slow

Home Forums Calendar Products Events Calendar PRO Event Archive loads very slow

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1146785
    Pascha Apter
    Participant

    The event archive is loading very slow – over 15 seconds to load:

    http://www.lutsenresort.com/events

    It appears the hang up might be related to external calls to eventbrite? I am currently hosted on WP Engine and using cloudflare and the works. It should not be taking this long to load the page…?

    #1146884
    Brook
    Participant

    Howdy Pascha,

    I would love to help you with this.

    The view you are loading there, Month view, can place a very large load on your database. To help alleviate this we created the Month View Cache. Do you have that enabled in WP-Admin > Events > Settings > Display ? If not, could you try enabling it?

    Even with that enabled though we have noticed one portion of the page that is not getting cached in the latest version of The Events Calendar . It’s the JSON-LD results. For now we advise disabling JSON-LD on month view if you are hitting performance issues. You can do that by pasting the following snippet at the top of your theme’s functions.php file. Replace the opening “<?php” with this snippet, as this snippet includes that opening tag.

    https://gist.github.com/elimn/9ce1c3e64d060b758e22627b815455ae

    With that snippet in place, and the cache enabled, are you seeing much faster page load times on Month View? The first load might be a little slow while it generates the cache, but after you reload the page a couple of time I expect it will speed up dramatically. Does it?

    Cheers!

    – Brook

    #1146979
    Pascha Apter
    Participant

    Thanks! I made both changes and it has definitely made a difference.

    #1147049
    Brook
    Participant

    You are welcome! I am happy that helped!We do have a performance improvements coming down the line that will help further, so things should only get better with future update.

    Thank you for getting back!

    • Brook
Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Event Archive loads very slow’ is closed to new replies.