Skip to content

Posts screen: Improve inefficient stats API query #3411

@acicovic

Description

@acicovic

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Feature: PCITicket/PR related to Content Intelligencewp-parselyRequired label for all issues

    Type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions