N
Nuxtβ€’3mo ago
Glenn Jacobs

How to disable SWR if a route has a querystring?

We are building an online store and have category pages that list out products. We want the main initial category page to use SWR for speed and SEO. These category pages have filters, that are applied to the querystring when selected. We don't wish to SWR a category page with filters applied in the querystring, instead we'd like them to use CSR. I can't see how to use routeRules or middleware to achieve this. I'm open to suggestions! πŸ™‚
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server