A simple implementation of links caching mechanism.