|
|
| go ahead... be a heretic | |
| PerlMonks |
Re: (nrd) Content-type: html and images ?by newrisedesigns (Curate) |
| on Feb 10, 2003 at 16:44 UTC ( #234162=note: print w/ replies, xml ) | Need Help?? |
|
Every page element that is not the HTML of the page requires a seperate request/response. For example, a simple HTML page with two images and a linked CSS requires 4 HTTP connections (one for the page, the CSS, and one for each image). You could roll the HTML and the image into one script. Sample page:
The perl:
Untested. While you're here... SIGN UP! John J Reiser
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||