• Resolved akiraprise

    (@akiraprise)


    Hi,

    I’m having performance issues on our calendar page, it’s taking ages to load – much longer than any other section, please see:

    http://ibiza2013.net/calendar

    I’ve installed 5.5 and added this line to wp-config:

    define('EM_CALENDAR_OPT', true);

    But this hasn’t improved speed at all, I do have a large amount of events on display but we used the same software last year without any performance issues,

    Whilst I’m at it – how do I add tool tips to the calendar again? I’ve lost the setting.

    We’re running 3.6 multisite with 2.3.4 on WP Events Manager pro if that makes any difference,

    Thanks
    Russell

    http://wordpress.org/plugins/events-manager/

Viewing 13 replies - 1 through 13 (of 13 total)
  • Hi Russell,

    Roughly how many events do you have?

    Thread Starter akiraprise

    (@akiraprise)

    Over 2,100 events at present

    Thanks
    Russell

    Plugin Support angelo_nwl

    (@angelo_nwl)

    1. how about using conditional placeholder like {is_future}content{/is_future} so it won’t load past events – http://wp-events-plugin.com/documentation/conditional-placeholders/

    2. tooltip, try Events > Settings > Formatting > Calendar

    Thread Starter akiraprise

    (@akiraprise)

    Thanks Angelo,

    Unfortunately I need to display all events on each month so can’t use a conditional placeholder, surely this wouldn’t effect the speed though as it would need to run through each conditional on every event?

    I’ve looked there for the tooltip but the setting’s no longer there?

    Thanks
    Russ

    Plugin Author Marcus (aka @msykes)

    (@netweblogic)

    Hey Russ,

    I notice you have some interesting formatting on these events, are you adding any custom code there to generate this content?

    What is your calendar format?

    I do notice that you’re loading 400+ events on one page though… it might just be inevitable that your page takes that long to load. I’m guessing if you tried to load 400 events or even normal WP pages in your wp admin are you’d run into similar speed problems.

    What if you add a limit to the number of events per day? E.g. try 3 events per day.

    The optimizations we made were for this situation, where you may have 1000s of events but only show x events per day, not all at once.

    Thread Starter akiraprise

    (@akiraprise)

    Hi Marcus,

    Sorry for the delay in getting back to you on this – I was wandering if it’s possible to put the calendar in the WordPress Transient Cache? Hopefully this would enable our calendar to display a lot quicker – and we could refresh the cache every 4 hours or so?

    Cheers
    Russ

    Thread Starter akiraprise

    (@akiraprise)

    Hi Marcus,

    Did you have any thoughts on how to implement the calendar into the WordPress transient cache? The performance of the calendar is terrible on our site – even though we’re on a very powerful host. Any way to fix this would be greatly appreciated,

    Thanks
    Russell

    Plugin Support angelo_nwl

    (@angelo_nwl)

    am going to asked Marcus about his and post any reply here.

    Plugin Support angelo_nwl

    (@angelo_nwl)

    I asked Marcus about this, he mentioned that the recent update should help matters – try adding this line to wp-config.php

    define(‘EM_CALENDAR_OPT’,true);

    Whilst it’s possible to use transient caching (and something we’re slowly looking into), we haven’t implemented this yet so you’d need to create your own solution for this if that’s the way you want to go.

    Thread Starter akiraprise

    (@akiraprise)

    Hi Angelo,

    Thanks for looking into this – unfortunately the line of code hasn’t really made that much of a difference – it still runs incredibly slow:

    http://ibiza2013.net/calendar/?mo=8&yr=2013

    Any ideas if the transient thing will be something you’re going to integrate soon (next few months?). Or if not where do I start to look at to make the calendar display in a transient?

    Cheers
    Russ

    No ETAs I’m afraid (no good making promises if we can’t be sure to keep them!) but if you want to implement this yourself you’ll probably need to look at EM_Event::get() for filters you can hook into to implement your own transient caching.

    Thanks

    Plugin Support angelo_nwl

    (@angelo_nwl)

    Looking at your load speeds, considering the number of events you show on one page, it’s pretty quick for me (< 3 secs)

    Given you’re not using AJAX here, what about using a caching plugin to cache the page?

    Thread Starter akiraprise

    (@akiraprise)

    Hi guys,

    The calendar fills up quite a bit in the next few months to show hundreds of events per month (http://ibiza2013.net/calendar/?mo=8&yr=2013 << example).

    We’re on WPEngine so they do cache it a bit, would another caching plugin help with that or not? I might try build the calendar using a wp_query like I’ve done with the rest of the site and that way I can build it into the transient cache – I’ll see how I get on 🙂

    Cheers
    Russ

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘Calendar performance issues 5.5’ is closed to new replies.