This repository has been archived by the owner on Feb 22, 2023. It is now read-only.
Limit page depth of searches #857
Labels
💻 aspect: code
Concerns the software code in the repository
✨ goal: improvement
Improvement to an existing user-facing feature
🟥 priority: critical
Must be addressed ASAP
Problem
As a temporary fix for some performance issues with the Openverse API, we should cap the max page depth to
20
. This means that if a search had 40 pages of results users would still be limited to accessing pages 1-20.Description
This prevents the scenario described here cc-archive/cccatalog-api#565, which has become an increasing problem with the number of users scraping Openverse's dataset, while we make improvements to pagination and dead link elimination.
Alternatives
Additional context
Implementation
The text was updated successfully, but these errors were encountered: