Improved data-caching mechanism.