Issue #86: Initial performance optimizations. Adding cache_layout_path table.