X
217432

Ticket #217432 Public

admin-ajax.php Slowing site load.

While doing some optimization to speed things up I found admin-ajax.php adding significant wait time to page loads. I disabled its usage on the front end in WordPress, but the issue persisted. Using GTMetrix it looks like EventON is the source of the issue.

BY: Ron Zayac - Jan 21,2021 AT 2:13PM - 2 years ago
    • By: Kenneth Jan 22,2021 AT 1:19AM - Posted 2 years ago - #217487

      Hi Ron,

      Thanks for reaching out!

      The admin-ajax request is used to load calendar default values that are used later on the webpage. To fix this, I can suggest adding cal_init_nonajax=”yes” to your shortcode to load the calendar without AJAX.

      In case you would like to completely block the loading of this script on the front end, please comment out the following line in the plugin source code:

      EventON

      I hope this helps!

    • By: Valeria Mulina Mar 25,2021 AT 8:42PM - Posted 2 years ago - #229720

      I tried to add a shortcode cal_init_nonajax=”yes” to the views of my daily and weekly calendars

      https://bali.live/today/

      https://bali.live/this-week/

      And it completely changed to look of the calendars. Just completely different design. So, this tip does not work.

    • By: infotainerdave Mar 25,2021 AT 9:00PM - Posted 2 years ago - #229722

      Due to the shear number of events you may wish to hide past events- that will increase loading time especially on that weekly view- thats a lot of events

      also the login you gave is to a different site than the bali site

    • By: Valeria Mulina Mar 29,2021 AT 7:20PM - Posted 2 years ago - #230431

      This recipe is not working!!! I added this code

      cal_init_nonajax=”yes”

      to my shortcode.

      And this is how the weekly view looked without code: https://bali.live/this-week/

      And this is how the weekly view looks with this code: https://bali.live/this-week-with-code/

      Isn’t it different???

       

    • By: Valeria Mulina Mar 29,2021 AT 7:24PM - Posted 2 years ago - #230432

      So how many events is okay? 2 events per day? 3 events per day? Why don’t you write about the limitations for your plugin when you sell it to your customers?

    • By: infotainerdave Mar 29,2021 AT 8:15PM - Posted 2 years ago - #230436

      the number of events is based on the quality of the server. you have 118 events here https://bali.live/this-week/ but it doesn’t take that long to load considering the number of events

      if you gave us wp-admin access to https://bali.live/ instead of burnslake.ca we may be able to tweak the settings to have it run faster

    • By: infotainerdave Mar 29,2021 AT 8:20PM - Posted 2 years ago - #230438

      the good news is we are trying to save milliseconds in most cases https://gtmetrix.com/reports/bali.live/82eb8l2G/ but if we have wp-admin access to bali live then I can have a detailed look at your set up

    • By: infotainerdave Mar 29,2021 AT 8:23PM - Posted 2 years ago - #230440

      various things such as turning off google maps JS, as your events don’t seem to use that feature- that will take away some miliseconds and there are other settings to look for, removing the jitsi API or turning it off rather will reduce things 

You must login to reply to this ticket

HelpDesk

Welcome to EventON helpdesk.

EventON is the #1 Best selling event calendar plugin for WordPress websites in envato marketplace.

Checkout EventON