WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

admin-ajax seems incredible slow compared with an own and custom service entry point (site.com/wordpress/wp-content/myplugin/rpc.php?....).

In our custom service entry, we actually load only : wp-config.php & wp-load.php and then our RPC handler = 120ms for a RPC request.

When going over admin-ajax.php its 950ms for the same request. Is there anything we can do to speed it up ? IE, can we disable filters, plugins which have nothing to do with our request?

We'd like to switch to admin-ajax but with this performance its simply aweful for user experience.

well, any idea is welcome.

thank you!

share|improve this question
up vote 1 down vote accepted

Ajax endpoint is known to be relatively slow, but that primarily comes from loading WordPress core.

If you are seeing drastic difference between two endpoints (native Ajax vs yours custom) that both perform core load, then something is doing something that degrades Ajax endpoint on top of it.

I would profile Ajax endpoint to have better idea of what is actually taking that much time. Without that it's impossible to make good guess for situation described.

share|improve this answer
finally I will stick with a custom endpoint. i hope that endpoint can be customized some day, ie: loadPlugins|loadThisAndThat.... – stackoverclan Oct 19 '14 at 10:52

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.