add caching to retrieval of alltime trends