Skip to content

Bad performance using nested and populate together #134

Open
@MattPryze

Description

@MattPryze

Sending a REST API request in the format /api/menus/1?nested&populate=* leads to some pretty poor performance.

Getting a menu with about 100 items takes around 1000ms each time.

I'm using SQLite for my database and would rather not change it as all other requests are running fast.

I tried using the REST cache plugin, but it didn't seem to have any effect. I suppose I may be configuring it incorrectly?

Is this the expected behavior of this call? Is there a better way to quickly grab my nested menu on page load?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions