I keep getting this stupid error - but I can't work out where its coming from:

Minimize DNS lookupsThe domains of the following urls only serve one resource each. If possible, avoid the extra DNS lookups by serving these resources from existing domains.

* http://www.cancunandrivieramaya.com/test.html

Its been driving me nuts for hours - and I still can't find the issue. I've checked all the HTML + the CSS/JS files (all images etc are accessed via carmstatic.com, so we can avoid the "serve files from a cookieless domain"), but can't see anything - am I missing something stupid?

BTW, I've even gone as far as seeing if putting a "blank"pixel image at the bottom of the page helps (to trick it into thinking that more than 1 resource is coming from the domain)

TIA

Andy

RyanReese
—
2010-06-01T03:57:01Z —
#2

Well AJAx doesn't because it's just Javascript, but you could use PHP and feed the PHP to AJAX.

But we are overthinking it now aren't we

ultranerds
—
2010-05-31T13:13:43Z —
#3

Ah ok - so not a lot I can do about it =) (we obviously can't have it served from the other domain, i.e carmstatic.com, as AJAX doesn't let you do cross-domain accessing, which is a bit of a sod :()

Cheers

Andy

RyanReese
—
2010-05-31T13:09:56Z —
#4

The javascript will use that relative path based on where the Javascript file is, aka if you call a JS file at http://www.sitehere.com/js/thingy.js, then it will go and try and access the relative path from that location, thus the main domain :).

ultranerds
—
2010-05-31T13:04:59Z —
#5

RyanReese said:

This has nothing to do with the CSS, CSS doesn't mess with the server and DNS.

This is probably apache or some other server side thing..I don't know what it wotuld be but I know for sure it isn't CSS