How does the :countish paginator determine cache keys?
#892
-
|
https://ddnexus.github.io/pagy/toolbox/paginators/countish/
What is the cache key used here? I expect that for ActiveRecord collections, |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
No, you just... have faith! 🤣 Ok, I can add one more sentence in the docs... you skeptical infidel! 🤣
Searchkick is a search paginator, which uses a offset-like pagination under the hood, so no overlapping here. |
Beta Was this translation helpful? Give feedback.
-
|
I made a little addition to clarify that it memoizes the count "in the links" in the :countish docs. It's small, but it should exclude thinking about "cache". HTH |
Beta Was this translation helpful? Give feedback.
I made a little addition to clarify that it memoizes the count "in the links" in the :countish docs. It's small, but it should exclude thinking about "cache".
HTH