3 ms·
The thing is, performance in that particular context hardly matters, unless you're forcing users to switch pages faster than 1 page per second. Even if each res
by embedding-shape 1y ago
The thing is, performance in that particular context hardly matters, unless you're forcing users to switch pages faster than 1 page per second. Even if each resolving takes 0.1 seconds (which be bad, don't get me wrong), 99% of users wouldn't notice a thing, and if you're a small agency/shop/company/team, focusing on more general things tends to be time spent better.
- recursive 1y agoI have a hard time imagining how one would implement a router that took a full millisecond to resolve a path in a typical case.
- embedding-shape 1y agoImagine doing a call to a remote authentication service to check who has access to what :) Regardless, performance is usually not the biggest problem in those types of routers.
- recursive 11mo agoAuthorization seems different from route resolution to me. But I guess I wouldn't be surprised if someone was doing it that way.