When I'm designing, there are times that I have to decide between pretty (large images, full-page backgrounds, animations) and quick.

I read in a book long ago that you should keep your homepage under 50kb. What do you use as an upper limit?

2 answers

danwellman 5600

I don't think there are any strict limits, it depends on each client and each design. My upper-limit is 'as small as it possibly can be'

Once you've optimized an image, if it is still very big it would be time to accept its size (and the higher hosting charges it could potentially bring), or redesign and use a smaller/less complex image.

Answered over 9 years ago by danwellman

What tends to be increasing page loads these days is javascript libraries - concerns about small size appear to have gone out the window as people opt for fast/cheap programming of behavious. Un-minified jQuery weighs in at 160kb - but it should at least be cached. The upside of javascript libraries is that they often allow for behaviour such as loading additional images etc. after page load has completed.

It might even be a safe assumption that people for whom bandwidth is still a real issue may well surf with javascript off - so make sure your site works well in its absence.

Answered over 9 years ago by Richard Grevers