Skip to content

wp-android send requests for single media item info over and over again #17227

Description

@gfto

Expected behavior

Send single request for given media item id (wp.getMediaItem) and cache the result.

Actual behavior

wp-android send requests for single id over and over again, hitting the server with multiple requests per second.

web requests (note multiple requests per second): https://gist.github.com/gfto/06895728cf4a6bd722a12ebac0279ba0
xmlrpc payloads (the first number on each line is how many requests with such payload are sent): https://gist.github.com/gfto/0d700b3fe1d23a68bb794a667b45b8cd

Steps to reproduce the behavior

No idea, I only have the logs from the web server.

Tested on [device], Android [version], WPAndroid [version]

The user agent that sends the requests is

"Mozilla/5.0 (Linux; Android 12; SM-F936B Build/SP2A.220305.013; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/105.0.5195.136 Safari/537.36 wp-android/20.7"

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions