Routers on dynamic pages

Hi guys,
I have a dynamic page.
Let’s call it /item/{ID}
Most of these pages are open to all members while some specific pages are for specific users only.
I’m wondering whether to use a router to redirect unauthorized users out of these pages, or to use wix-location to redirect the users.
Since I’ve never used routers, I’m wondering what are the cons and pros of each method.
I’d like to hear your opinion (especially on the effect of each of them on speed and performance).

Thanks.
J.D.

1 Like