Something related that can help is combining all images into a single image and using css to specify different sections throughout the webpage. This can dramatically reduce the number of web requests, though it may be difficult to implement for your particular solution. On Jun 11, 2011 5:23 AM, "Adam" <[email protected]> wrote: > > > The reason for the data:image (a 1x1 clear pix) at the src and not just > > src="" or no src are to prevent some older browsers to do a "buggy" > > request against "/" (the html document). It could be replaced with a > > pix.gif or something. > > This is a bit tangential, but I ran into that last week. I actually > don't think it's a bug (but I could be misunderstanding), based on the > spec. > > IMG SRC refers to A HREF in terms of what content it accepts (also > states that it takes a URI). > > A HREF refers to URI in terms of what content it accepts. > > URI states that an empty URI reference refers to the start of the > current document (look at http://www.ietf.org/rfc/rfc2396.txt under > Section 4.2 "Same-document references"). > > So if I'm reading correctly, that's actually the "by design" > behavior! Fortunately(or unfortunately, depending on your > perspective) I think Safari is the only modern browser that follows > it. > > Thought that was interesting. :) > > Adam > > -- > To view archived discussions from the original JSMentors Mailman list: http://www.mail-archive.com/[email protected]/ > > To search via a non-Google archive, visit here: http://www.mail-archive.com/[email protected]/ > > To unsubscribe from this group, send email to > [email protected]
-- To view archived discussions from the original JSMentors Mailman list: http://www.mail-archive.com/[email protected]/ To search via a non-Google archive, visit here: http://www.mail-archive.com/[email protected]/ To unsubscribe from this group, send email to [email protected]
