Inline JavaScript Experiment
|
07-13-2010, 12:19 AM
Post: #20
|
|||
|
|||
RE: Inline JavaScript Experiment
Couple of things:
1. Another downside of in-lining JS is that most bots will only crawl a certain distance into the page, and they weight the content at the top more heavily than the content at the bottom. By putting inline JS in your document head you may make the bot bail before it finishes crawling the whole page, and you may reduce the weight of any real content you have in the body of your document. 2. Sharding static content across 10 sub-domains is probably overkill. Depending on what browsers people are typically using on your site this could cause way too much thrashing. A browser like Firefox that makes 8 connections per domain doesn't need that level of sharding (in fact it will likely make your site load SLOWER). The recommendation from Yahoo is to shard across two domains and no more. That post is also old, written when many more people were using IE 6 and 7 and we needed to be sharding more aggressively. |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 2 Guest(s)