stuffradio
11-21-2007, 02:53 AM
How should I do this?
I have a layout that's using high quality JPG files. Since they are a bit bigger what method should I use to make the page load quicker?
Thanks!
dexxtreme
11-21-2007, 03:30 AM
It's been a while since I've done any advanced web layouts/design, but one trick that was used back in the day was to use proper width and height tags in the images. That way the browser would set aside the space for the image ahead of time and could render the rest of the page before the images finish loading.
cygnusd
11-21-2007, 02:47 PM
serve using a separate instance of lighttpd or tux or apache (mpm=worker/event) since they are known to serve static content faster.
holmesa
11-27-2007, 06:37 PM
If you are using previous/next image functionality you may want to pre-load images. While a user is looking at the first image others are being preloaded for quicker navigation.