Welcome Guest, Not a member yet? Register   Sign In
Render image on the fly vs. saving thumbnails
#1

[eluser]obobo[/eluser]
I am working on a site that produces a lot of different sized thumbnails of user uploaded images. I haven't finalized the sizes yet, and new ones are bound to be introduced after the site launches.

Does it make sense in this scenario to render thumbnails on the fly every time they are displayed?
(ie: don't save them to the server, but create a thumbnail every time the image is displayed)

I've heard this approach defended by the idea that rendering every time on the fly is fine because it doesn't take up a lot of server time. But the script i've written to resize and send the thumb to the browser takes at best about .01 seconds to run. So on a page with 10 thumbnails i'm adding an extra second of server time to every page ... which seems significant enough to me when the original page only takes about .005 seconds to execute.

Rendering every time on the fly is convenient, but i'm not sure the convenience is worth the server time, or the fact that the images don't get cached on the user's computer.

I think i've answered my own question,
but any advice or insights appreciated.


Messages In This Thread
Render image on the fly vs. saving thumbnails - by El Forum - 04-18-2008, 07:09 AM
Render image on the fly vs. saving thumbnails - by El Forum - 04-18-2008, 10:10 AM
Render image on the fly vs. saving thumbnails - by El Forum - 04-18-2008, 02:05 PM
Render image on the fly vs. saving thumbnails - by El Forum - 04-18-2008, 07:02 PM
Render image on the fly vs. saving thumbnails - by El Forum - 04-18-2008, 08:35 PM
Render image on the fly vs. saving thumbnails - by El Forum - 04-19-2008, 12:36 PM
Render image on the fly vs. saving thumbnails - by El Forum - 04-19-2008, 01:03 PM
Render image on the fly vs. saving thumbnails - by El Forum - 04-19-2008, 06:26 PM
Render image on the fly vs. saving thumbnails - by El Forum - 04-20-2008, 12:20 PM
Render image on the fly vs. saving thumbnails - by El Forum - 04-20-2008, 03:46 PM
Render image on the fly vs. saving thumbnails - by El Forum - 04-21-2008, 07:38 AM
Render image on the fly vs. saving thumbnails - by El Forum - 05-01-2008, 08:28 AM
Render image on the fly vs. saving thumbnails - by El Forum - 05-01-2008, 05:04 PM
Render image on the fly vs. saving thumbnails - by El Forum - 06-11-2008, 08:05 AM
Render image on the fly vs. saving thumbnails - by El Forum - 06-11-2008, 01:18 PM



Theme © iAndrew 2016 - Forum software by © MyBB