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). |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)