1
0
mirror of https://github.com/rancher/steve.git synced 2025-05-11 17:34:24 +00:00
steve/pkg/stores/partition/listprocessor
Colleen Murphy b0eb50f38d Add caching to pagination
Cache filtered, sorted results for fast subsequent page retrieval.

Requests for cached queries need to include the list revision number
along with other queries. If no specific revision is requested, a new
fetch is done in order to get the latest revision. The revision is
included in the list response.

Example first request:

GET /v1/secrets?pagesize=10

Example subsequent page request:

GET /v1/secrets?pagesize=10&page=1&revision=107740
2022-12-20 15:01:19 -08:00
..
processor_test.go Add pagination to partition store 2022-12-20 15:01:15 -08:00
processor.go Add caching to pagination 2022-12-20 15:01:19 -08:00