Support

Home Forums Event Espresso Premium How to get site to load faster

How to get site to load faster

Posted: November 27, 2018 at 8:58 am

Viewing 2 reply threads


manders

November 27, 2018 at 8:58 am

We are showing that the admin-ajax.php script is running at high levels-is that from when we have our wp-admin page open, it’s constantly talking to the server?
We need to speed up our site – if we change our calendar to week view rather than month view, will that help?
And if we turn off featured images in the Calendar settings, will that help or will the script still try to pull those images?


Tony

  • Support Staff

November 27, 2018 at 10:28 am

Hi there,

We are showing that the admin-ajax.php script is running at high levels-is that from when we have our wp-admin page open, it’s constantly talking to the server?

admin-ajax.php constantly talking to the server will likely be the Heartbeat API, if thats the case I don’t recommend disabling it as it does server a purpose, but you can change its frequency to reduce the requests:

https://wptavern.com/how-to-take-control-of-the-wordpress-heartbeat-api

We need to speed up our site – if we change our calendar to week view rather than month view, will that help?

Are you sure the calendar is the only problem?

Switching to week via may help as there is then less data to pull in for that view, but theres plenty of other optimizations you can make to a site.

And if we turn off featured images in the Calendar settings, will that help or will the script still try to pull those images?

Again, are you sure that’s the source of the problem?

If you disable the feature images they don’t load, so no the script will not try to load them.


Josh

  • Support Staff

November 27, 2018 at 10:39 am

It will also help to load only upcoming events on the calendar pages. So for example if you have this shortcode on a page to show a calendar:
[ESPRESSO_CALENDAR]
you can change that to be:
[ESPRESSO_CALENDAR show_expired=false]

It will also help if your developer can review and implement the advice in this guide:
https://daverupert.com/2010/06/web-performant-wordpress/

Viewing 2 reply threads

The support post ‘How to get site to load faster’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso