3 ms·
> Redirects are done in js Redirects definitely happen in more places than you think/see, mostly because almost all tooling handle redirects transparently to t
by capableweb 4y ago
> Redirects are done in js
Redirects definitely happen in more places than you think/see, mostly because almost all tooling handle redirects transparently to the user, so you don't really notice it.
Doing redirects in JS is a huge waste of resources as well, as you'll need to load a full page with it's body (meaning the browser will parse and execute it) while having a 301 + Location header means the browser can redirect quicker without executing more stuff.