-
I'm looking for a way to populate the I've tried something like this:
To pull the page param from the search string if it's undefined, which works to a certain degree, howver the problem is that results are still cached under an undefined This is an issue because when we update the filters, we revert back to page 1, but then when the filters are reset back to the initial filters the already cached page for those filters is loaded, rather than page 1, because in both instances One solution is wiping the cache for products when the filters changed, however this isn't ideal because we still want to leverage caching between filters. Can anyone think of an alternative solution we might be missing? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
this should work in v5 (released yesterday) because the syntax changed:
we don't cache under |
Beta Was this translation helpful? Give feedback.
this should work in v5 (released yesterday) because the syntax changed:
we don't cache under
undefined
anymore, but under whateverinitialPageParam
returns.