WordPress.org

Ready to get started?Download WordPress

Forums

The Events Calendar
[resolved] Page load speed (7 posts)

  1. Henry
    Member
    Posted 2 years ago #

    When I measure page load speed with The Events Calendar plugin activated I get 4.6 seconds.

    When the plugin is deactivated I get a page load speed of 2.3 seconds.

    I think it is the jQuery/Javascript that is causing the slower page loading. Is it possible to still run the plugin with jQuery/Javacript removed?

    How else can page load speed be improved?

    Hope somebody can help.

    http://wordpress.org/extend/plugins/the-events-calendar/

  2. roblagatta
    Modern Tribe Support
    Plugin Author

    Posted 2 years ago #

    Hey Thirstcard. Interesting issue; thanks for bringing it up. This is the first I've heard of this issue but I can see the cause for concern. Let me get one of our devs to take a look and see if they can offer up any suggestions (and to check whether or not this is something worth changing in the core plugin for a future release). Stay tuned.

  3. Joey Kudish
    Member
    Posted 2 years ago #

    Hi thirstcard,

    Unfortunately your statement thus far is too vague for us to do anything with. Can you provide us with the URL of the site you are measuring? What measurement tool are you using to determine the page load time?

    There are also a number of things that can affect page loading time:

    • How many posts/pages/events do you have on your site?
    • Did you try this with the default Twenty Eleven or with another theme? It could be a conflict with your theme.
    • Did you try this while turning off all the other plugins to see if there was some kind of conflict?
    • Could be an issue at your hosting level

    etc... There are a number of factors at stake here. I am also a bit concerned because even 2.3 seconds seems somewhat high for a baseline WordPress site without much in it, so there could be a conflict or other things impacting your site.

    I don't mean to fully dismiss the issue either, as we don't want to be the plugin to slow your site down, but at the same, we've only gotten a small handful of similar support requests and in most cases the plugin alone wasn't the culprit; so please let us know if you have any specific findings so that we can help you fully troubleshoot this.

    Finally, I should point out that the plugin itself doesn't have a lot of front-end javascript, so I doubt that's the culprit. We only add 2 rather scripts that are necessary for the calendar to function. We don't recommend removing them as it will affect the user experience, but if you must, here's how to do it: https://gist.github.com/1897080 (you would paste that in your theme's functions.php file or create a new mini-plugin with it)

    Let us know how we can be of further help,
    Cheers

  4. Henry
    Member
    Posted 2 years ago #

    Hi Joachim,

    Thanks for your detailed reply. The Events Calendar Plugin is fantastic, best on the market and now I've installed it I couldn't be without it.

    It very well could be an issue at my hosting level and I am not certain that deactivating The Events Calendar plugin was the cause of the site increasing in speed. It just seemed a coincidence and I wanted to see if anyone was aware of the issue or if it was just my site.

    The page I am measuring is http://www.thirstcard.co.uk/events.

    After doing some further research into the performance issue using Pingdom.com, I have found the following 2 items are loading in a total of about 2 seconds:

    jquery.js?ver=1.7.1
    jquery.pjax.js?ver=3.3.1

    I have about 10 posts and 20 pages on the site. I have not tested the plugin with the default Twenty Eleven theme.

    Thanks for the code to remove Tribe Javascript. This did the trick for me as site performance has been improved. And you're right, over 2 seconds load speed for a WordPress site does seem slow - the cause of that would be my style.css. I am working to consolidate that next.

    Thanks again!

    Henry

  5. Joey Kudish
    Member
    Posted 2 years ago #

    Hi Henry,

    Thanks for the follow-up. I can't say for sure, but it does sound like either your theme, another plugin or your host is an issue here. I would suggest reverting to the default theme to see if that helps and also see if another plugin is causing a slow-down or conflict.

    It's normal that jQuery (which is bundled with WordPress) and the other javascript file be the "heaviest" on the load time, but that doesn't mean anything is wrong.

    You may also want to look into caching plugins such as W3TC (http://wordpress.org/extend/plugins/w3-total-cache/) or WP Super Cache (http://wordpress.org/extend/plugins/wp-super-cache/)

    Again, let us know if you find anything specific to The Events Calendar that is slowing down your site, but otherwise, it's unfortunately out of our control.

    Cheers

  6. Henry
    Member
    Posted 2 years ago #

    @Joachim

    sp-events-calendar-script and sp-events-pjax

    Since upgrading to 2.0.5 the above in your helpful remove javascript function should now be:

    tribe-events-calendar-script and tribe-events-pjax

  7. Joey Kudish
    Member
    Posted 2 years ago #

    Yup that's absolutely right. In 2.0.5 we removed all [old] references to sp- in favor of tribe-

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic