wp-parsely
wp-parsely copied to clipboard
Posts screen: Improve inefficient stats API query
Is your request related to a problem?
We are showing some Parse.ly stats on the wp-admin Posts screen. However, the API query we use for this functionality is inefficient as it's asking for all available data, resulting in large processing times and big responses from the API.
This was done to work around some API limitations that existed in the past. However, it is now possible to query the API with specific URLs. Using this new method should result in:
- Speed enhancements (API results will be fewer so they'll be returned faster).
- Potentially having stats available for more posts.
Describe the solution you'd like
Switch to an implementation asking for specific URLs data.