DEV Community

Discussion on: Should browsers still allow users to disable JavaScript?

Collapse
 
jvanbruegge profile image
Jan van Brügge

It's not hard to serve the script from your domain instead, just use a reverse proxy. This is not really a solution at all

Thread Thread
 
mortoray profile image
edA‑qa mort‑ora‑y

It makes a difference though. A reverse proxy avoids one of the problems with tracking by third parties. No longer does the Google CDN get knowledge of everybody who accesses your website.

Security is also improved since the domain of origin of this script is the same as the host domain. Combined with limited third domain access it neuters some of the abuse that JS can currently do.

It also serves all the content from one domain, allowing a single HTTP connection to be used. This reduces connection overhead and speeds up the page.

It also forces the content to be handled by the host domain, which then puts a little bit of pressure to not overload the hosting.