Layer record caching