1

I am writing an api that will have to handle extremely high volumes of calls so, in short, I can not afford to load the WordPress core every call. I have no problem building the API to use the database directly, and can get all the information I need, save the table prefix, by loading the config file. I have considered a stripped down version of THIS ANSWER but it is still loading way too much and is way too expensive.

There must be a much simpler way.

Thank you.

  • Have you considered to use WP REST API? It is being merged into the core and, with it, you can build headless applications easily. – cybmeta Nov 27 '15 at 8:48
  • it looks like the WP REST API still relies heavily on the core which I can not afford to load. – trex005 Nov 27 '15 at 9:05
  • 1
    Yeah, it still load WordPress core. In fact, it was loading even the admin files in every request (fixed). – cybmeta Nov 27 '15 at 9:16

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.