Tagged Questions
0
votes
1answer
275 views
Parallel downloading of JavaScript files on page load
Below is a quote from one of the Yahoo performance pages:
While a script is downloading, however, the browser won't start any
other downloads, even on different hostnames.
When I look at page ...
4
votes
2answers
179 views
Adding Google +1 Button Slows Page Load Time
This article says Google +1 tags can add a second to page load time, which means a 10% decline in visitors.
The article authors say they use smart tag loading to reduce page load time.
Does anyone ...
10
votes
1answer
269 views
When and when not to use a CDN
I'm working on a web-application that loads a couple of small gif images onto the screen. I'm using a relative path, which means they are loaded from the same web server that serves the php page. The ...
3
votes
2answers
396 views
One JS/CSS bundle Vs. One with default and one with custom
On a few of my sites, we use Javascript/CSS bundles to reduce load time. I've always used two bundles for each type (4 in total) so I have
JS Bundle 1: Contains scripts that are standard on every ...
23
votes
5answers
2k views
Does “putting Javascript at the bottom” defeat the purpose of document.ready?
I know that it is recommended to put Javascript at the bottom of the page, but if I'm using jQuery doesn't this defeat its purpose to run as the DOM is loading?
If I have a dropdown menu, for ...