unjs / nitro

Next Generation Server Toolkit. Create web servers with everything you need and deploy them wherever you prefer.
https://nitro.unjs.io
MIT License
5.81k stars 489 forks source link

Netlify SWR New caching strategies #1811

Open Rigo-m opened 11 months ago

Rigo-m commented 11 months ago

Describe the feature

As of right now, routerules for netlify preset passes through netlify on demand builders, although this works flawlessly for pages without query parameters, it's not possible to cache or pass them onto nuxt pages.

This is solved via the new netlify caching swr strategy I think this should be implemented in nitro.

Additional information

pi0 commented 11 months ago

Thanks for notice on this new feature. PR is more than welcome.