views:

20

answers:

1

is there any memory of performance issues i need to be aware of when i constantly load/append page content with AJAX like twitter/tumblr

i am guessing that as more and more content is loaded (when the user scrolls down), it will clog up the browser cache? is there a need for me to remove the older content (starting of the page). or will it be not required as it takes up too little memory, unlikely to cause a problem. if i remove the starting content, if the user scrolls up i must handle it?

A: 

I don't think you need to worry about this unless you're loading thousands of images. The only problem with constantly appending to the page is that the scrollbar becomes useless.

Skilldrick