Next.js Discord

Discord Forum

Should I Use a Static or Dynamic RSS Feed for My Next.js Blog ?

Unanswered
Giant Angora posted this in #help-forum
Open in Discord
Giant AngoraOP
I'm building a blog with Next.js and have a dynamic sitemap set up. I'm deciding between a static RSS feed using the [rss](https://www.npmjs.com/package/rss) package or a dynamic feed via a route like rss/routes.ts to render feed.xml. Both options seem viable, but I'm unsure which is preferred by developers today. What do you recommend, and what do you use on your site?

Additionally, if I go with a static RSS feed, should I choose the [rss](https://www.npmjs.com/package/rss) or [feed](https://www.npmjs.com/package/feed) package? The rss package supports categories in the XML, but the feed package does not. Which one is better?

0 Replies