[WIP] Long activity streams load very slowly

For example the Harvester Daemon user on publicdata.eu has a very large number of edits, and his activity stream page takes quite a few seconds to load:

http://pdeu.staging.ckanhosted.com/user/activity/harvest

I suspect this also happens with datasets and groups that have a lot of activity.

What about dashboard activity streams with a lot of activities?