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


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/

You must be logged in to reply to this support post. Sign In or Register for an Account

Support forum for Event Espresso 3 and Event Espresso 4.
Documentation for EE3 and EE4
Documentation for Event Espresso 3

Documentation for Event Espresso 4

Status: publish

Updated by  Josh 2 weeks, 1 day ago ago

Topic Tags

Notifications

This topic is: not resolved
Do NOT follow this link or you will be banned from the site!