Home JSON API Plugin is Used in Wordpress to Fetch data in mobile application but issue is that it takes so much time
Reply: 1

JSON API Plugin is Used in Wordpress to Fetch data in mobile application but issue is that it takes so much time

nihil khagram
1#
nihil khagram Published in 2018-02-14 03:34:20Z

I have one website developed in wordpress and mobile application is also there here m using JSON API to fetch data from Wordpress.

But the issue that i m facing is that it's taking too much time to respond the data.

Can anyone help me how can i improve performance??

Currently it's taking almost 30 to 60 second to load data.

Here is the Link of my JSON API. http://krantibhaskar.com/?json=get_posts&custom_fields=_mp_featured_video&count=9&date_query%5B0%5D%5Bbefore%5D=201801301218

Please give me suggestion how can i improve performance..

wewedroid
2#
wewedroid Reply to 2018-02-14 08:03:34Z

Maybe try caching your data on your api endpoint, if your json data is fetch from a database then maybe you can cache that on a file.

Another approach would be to use paging. Only retrieve data that you currently need.

You can even combine the two. If still not good enough, try enabling compression on your api endpoint. This will help if your client has slow connection.

You need to login account before you can post.

About| Privacy statement| Terms of Service| Advertising| Contact us| Help| Sitemap|
Processed in 0.307132 second(s) , Gzip On .

© 2016 Powered by mzan.com design MATCHINFO