PDA

View Full Version : galleryimg="no"


lnxusr86
04-09-2004, 05:37 PM
Instead of using the following meta tag


<meta http-equiv="imagetoolbar" content="no">

in the head would it be better to use

galleryimg="no" in the img tags themselves? Quicker loading time?

Vladdy
04-09-2004, 05:38 PM
Not if you want a valid code...
... what's wrong with the image toolbar in the first place ?...

lnxusr86
04-09-2004, 05:41 PM
nothing.. Im trying to keep the head section low for faster loading time...

also is there a online program that can test the load time of html pages?

Vladdy
04-09-2004, 05:45 PM
I'm not sure how image toolbar can be an influence on the loading time.
Just look at the size of all your files (linked to a page) and then divide them by the connection speed that will give you a ballpark number...

lnxusr86
04-09-2004, 05:59 PM
Minimize the content inbetween your <head> tags. Try to use external CSS files for styling, external JS files, and try to only use a couple of meta tags (most search engines don't really care for meta tags anymore anyways) such as description and keywords. The browser must parse the <head> of the document before it can start rendering the <body>. Less time to parse the head, the sooner the browser can start rendering the body of the site. This will save bandwidth and make the site render faster.


:) This is what i meant

pb&j
04-09-2004, 06:52 PM
i dont think a meta tag will take any significant amount of time to parse at all. it would be extrememly fast and probably not significant enough to be noticed by a human. having a javascript in your head area may cause a bit of slowdown depending on the script.

Vladdy
04-09-2004, 06:52 PM
I'm not sure where you got this quote from but if you use the following code:

<head>
<script type="text/javascript">
startParse = new Date();
</script>
<!-- Your document head elements-->
<script type="text/javascript">
endParse = new Date();
alert('Document <head> parsing time: ' + (endParse.valueOf() - startParse.valueOf()) + ' ms');
</script>
</head>

you will find out that parsing time of document head is the least of your worries ...

lnxusr86
04-09-2004, 07:02 PM
Ok thankyou for your help :)