Current time: 11-14-2019, 06:28 PM Hello There, Guest! (LoginRegister)

Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Inline JavaScript Experiment
07-10-2010, 02:50 AM
Post: #8
RE: Inline JavaScript Experiment
The CNAME DNS hack is a pretty cool trick that was discussed at velocity this year where instead of the usual:

name1 -> hostname -> IP
name2 -> hostname -> IP
name3 -> hostname -> IP

where all 3 sharded sub-domains are CNAMES to the same host name (or A records to an IP) you do:

name1 -> name2 -> name3 -> hostname -> IP

and have the CNAMES point to each other in a chain. That way when the lookup is done for name1 you will get name2 and name3 in the same result.

It's really easy to pull off if you're not using a CDN and the shards are pointing to the same IP as your base page. In the case of a CDN you just need to put your initial CSS and JS on name1 and any images can be spread across them (in order to get the benefit of name1 having resolved 2 and 3).
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Inline JavaScript Experiment - pmeenan - 07-10-2010 02:50 AM
RE: Inline JavaScript Experiment - pmeenan - 07-10-2010, 05:33 AM
RE: Inline JavaScript Experiment - pmeenan - 07-11-2010, 01:42 AM
RE: Inline JavaScript Experiment - sajal - 07-12-2010, 08:04 AM
RE: Inline JavaScript Experiment - pmeenan - 07-12-2010, 02:19 AM
RE: Inline JavaScript Experiment - jklein - 07-13-2010, 12:19 AM
RE: Inline JavaScript Experiment - jklein - 08-05-2010, 05:10 AM
RE: Inline JavaScript Experiment - pmeenan - 08-11-2010, 05:05 AM
RE: Inline JavaScript Experiment - jklein - 07-13-2010, 12:49 AM
RE: Inline JavaScript Experiment - pmeenan - 07-13-2010, 05:42 AM
RE: Inline JavaScript Experiment - pmeenan - 07-13-2010, 09:09 AM

Forum Jump:


User(s) browsing this thread: 1 Guest(s)