1
vote
1answer
179 views

What could be causing this long waiting time on page load?

What could be causing a 1.18s wait time when my page loads? Just to make sure I did not have any conflicting or parallel scripts loading, I completely deleted all the script on my home page and ran ...
2
votes
1answer
171 views

Can minification in Google PageSped service break Adsense?

A few days ago I applied for Adsense account. But it was rejected due website being down. Here is the full message: We did not approve your application for the reasons listed below. Issues: ...
-2
votes
3answers
411 views

If something can be achieved using CSS or JavaScript, which will render faster? [closed]

I have two working solutions for hover navigation that I've built. One solution uses JS, one use CSS. My question is, assuming a browser is JS-enabled, which solution will work faster? I'll most ...
12
votes
4answers
1k views

Loading main javascript on every page? Or breaking it up to relevant pages?

I have a 700kb decompressed JS file which is loaded on every page. Before I had 12 javascript files on each page but to reduce http requests I compressed them all into 1 file. This file is ~130kb ...
0
votes
1answer
525 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 ...
14
votes
4answers
26k views

How do I set expiration headers for CSS, JS, and Images?

I have recently analysed my website with pagespeed addon on firebug. It suggested me to set expiration on CSS, JS and image files. I am wondering how do i do this?
11
votes
5answers
274 views

Should JavaScript referenced in the head section be served from the same hostname as the main document?

I was under the impression that for the best performance, Javascript should be treated as static content and served from a cookieless domain along with CSS files, images, etc. But Google says here: ...