Plugin Author
ice00
(@ice00)
hi,
this is usually given when database is becoming big.
This is not a problem in inserting new data as this not slow down the site. Else with new AJAX managing even the aggregate data shows into a page did not get problems.
Instead when you ask the DB to extract the data and shows result like in overwiew page from the PHP script, all service providers has set up max 15 second of timeout for PHP script.
So the DB need more time to extract data from the (big) database but PHP script is forced to terminate by the provider: you get so the 504, 404 or similar error depending by yuor server.
Somethimes if you try more times to show the overview you get the result: this is becouse the DB has cached the results and does reply in short time.
How to resolve?
You need to attend that external API will be terminated.
External API uses AJAX call in asyncronous way, so you have that the pages is loaded in zero time and then the data from database will arrive when available.
External API need lot of coding (actually it has only one function implemented used by Multi-Newstatpress to manage many Newstatpress sites in one page) so it will be ready in some months.
Thanks