Skip to content

Are query params automatically cached as well? #117

@fxmb

Description

@fxmb

If I have a long query param like below, will this be cached automatically?

http://localhost:3000/api/categories?limit=1500&locale=de&depth=0&sort=category_id&fallback-locale=en&select[id]=true&select[slug]=true&select[handle_pointer]=true&select[parent]=true&select[external_name]=true&select[internal_name]=true&select[category_id]=true&select[children]=true

We have in our config for categories:

  collections: [
    {
      findOneFields: ['slug', 'id'],
      slug: 'categories',
    },
....

So can I assume this will be cached in prod? Just cannot find anything in the docs right now

Thanks for a quick confirmation or denial!

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