Takes configuration options into account for caching
Implements session based caching for the last seen items
Merge pull request #684 from nsendetzky/master

Uses configuration options for cache keys and implements caching for last seen items