On a page that contains a list of about 30 entries, each of them is Facebook-likable (each entry's HTML contains a Like button), and each of them is either displayed or not (depends on a filter setting):
- The page takes several seconds to load entirely
- The page uses lots of memory, thanks to the Like buttons
- The page uses CPU even if the user doesn't interact (every 100ms or less, one of the Like buttons fires an event using Javascript)
- If I do not change the DOM tree, just change element visibility, the buttons seem to be reloaded anyway
On a PC with more than 1 GHz and 1 GB mem, the page is unusable because it is so slow (browser: Chromium). How can I change this, keeping the Like buttons?