Improved caching with selectable max number of cached result in t2listing