Skip to content

Pagination should cache hits from the first call #520

@t0t07

Description

@t0t07

Description
I am using SearchBox and Pagination together.

Expected behavior
After the first call, since all the following calls are identical, the component can simply cache the first call results and reuse.

Current behavior
It sends search API call with param limit=200 every time the user clicks the next page.

Environment (please complete the following information):

  • OS: [e.g. Debian GNU/Linux]
  • Browser: [e.g. Chrome version 90.0]
  • MeiliSearch version: v.0.21.0
  • instant-meilisearch version: 0.5.2
  • instantsearch.js version: v6.12.0

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions