Skip to content

Conversation

@cawa-93
Copy link
Contributor

@cawa-93 cawa-93 commented Oct 19, 2017

@cabrerahector cabrerahector self-assigned this Oct 19, 2017
@cabrerahector cabrerahector merged commit 4c56eee into cabrerahector:master Oct 19, 2017
@cawa-93 cawa-93 deleted the patch-1 branch October 20, 2017 06:21
@haydenjames
Copy link

haydenjames commented Oct 24, 2017

This is a bit over my head. Will this improve the page load performance with admin-ajax? Sorry if it's a dumb question.

@cabrerahector
Copy link
Owner

Hey @haydenjames!

Sorry if it's a dumb question.

As Carl Sagan would say, "there is no such thing as a dumb question."

Will this improve the page load performance with admin-ajax?

No. This basically allows to trigger an action when the WPP widget is loaded via AJAX. It has nothing to do with loading times :P

If you are noticing that admin-ajax.php is taking a long time to respond, maybe it's time to make some optimizations:

  • Check your plugins. Get rid of those you don't really need, and upgrade the ones you'll keep to the latest version available to get the latest bug fixes & performance improvements.
  • If your site is getting a lot of visitors per day (eg. 100k+ visits per day) and you're using WPP, you want to read this.
  • Install a caching plugin (if you haven't done so already).
  • Upgrade to a better hosting. If you have a large site and it's hosted on a shared server, chances are you may be needing a hardware upgrade.

@haydenjames
Copy link

haydenjames commented Oct 25, 2017

Thanks! My load time is usually < 1s. Still curious enough to ask. ha.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants