Random caching implemented.