[META] ajax.googleapis.com

post by Pavitra · 2012-01-20T02:24:24.930Z · LW · GW · Legacy · 3 comments

Contents

3 comments

Apparently, by not unblocking scripts for "ajax.googleapis.com", I am unable to vote on LW. I generally dislike enabling scripting for domains that are used in many places -- unblocking Google APIs would unblock it everywhere, not just here -- so the result is that I am no longer voting. I suspect that I am not alone in this.

(Apparently I can't post without enabling it either. Looks like I'll have make an exception and do the script-on-script-off dance after all. Whee.)

3 comments

Comments sorted by top scores.

comment by wmorgan · 2012-01-20T14:50:16.534Z · LW(p) · GW(p)

LW uses that domain to serve jQuery and Prototype. This is a recommended practice. The voting and posting code both rely on these libraries.

It sounds like what we want is failover: "if the user can't get jQuery from Google, then give it to them from LessWrong." Here is how to do it.

CDN failover is a best practice in general because it keeps the site working if Google ever goes down.

comment by saturn · 2012-01-20T04:53:44.076Z · LW(p) · GW(p)

If you use Firefox, you may be interested in this.

Replies from: Pavitra
comment by Pavitra · 2012-01-22T03:18:36.221Z · LW(p) · GW(p)

This seems to work quite well, thank you!