views:

425

answers:

2

The iPad stops loading large images after about 8 or 9 images for me, since the page runs into its allocated memory limits.

Since I'm showing these images one at a time, I'd like to remove the old ones from the browser cache so I don't hit the limit.

Any ideas on how to do this in javascript?

A: 

I'm having the same problem here. Any luck with this?

+2  A: 

See this question for a good answer. In a nutshell, you should use the same image objects and set the src instead of creating new images.

drawnonward