11:03am, Chad Gard wrote:
On Jan 21, 2005, at 10:22 AM, Sean Davis wrote:
You could also have your main script generate the images all at once (at
the same time as you are generating the HTML), put the graphics in temp
files, and then put the appropriate URLs in the img tags. This will
eliminate the overhead of calling a helper script 9-25 times for a single
page. If you are on an intranet, serving 25 small images should be almost
instantaneous.
Yeah, though then I have to worry about cleaning up the temp directory, and
I'd like to avoid unnecessary writes to the hard drive (to avoid directory
damage possibilities, energy use, fragmentation, etc). It logically makes
sense to just send these things out as they're generated.
Just a thought here: why do you have a hard drive if you're not going to use
it? And "energy use"? You're not serious, are you? If the hard drive is
spinning, the extra energy used to move the heads is very, very little.
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>