Skip to content

On the main page (/), we fetch prices and order them by -createdΒ #1647

@raphael0202

Description

@raphael0202

The following request is sent:

https://prices.openfoodfacts.org/api/v1/prices?app_name=Open+Prices+Web+App&page=1&size=25&order_by=-created

There is no index on created, so this request is slow. We should order by -id instead.

Metadata

Metadata

Assignees

No one assigned

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions