Server side vs Client side routing

Hello, can someone confirm whether the following statement is correct please: From what I've understood from server side routing, it's every routing logic happening in our back-end, like when we access the /About page, what route is responsible for that web page and how is it being delivered to the client. On the other hand, client side routing is when we navigate from page to page in our web app itself. Like when we click on the About button, should we be redirected to another page? Should the view of the current page be changed? This is what we call single page web app, when we have a single html page but multiple views?
1 Reply
ἔρως
ἔρως2mo ago
in short: - client-side routing handles the routing on the client-side, and may or many not navigate to entirely new pages - server-side routing requires that the browser navigates and makes a request to the server, which will send you the entire html code the request may be either a POST or a GET request, from a form or a link or a redirect or a window.location change

Did you find this page helpful?