Better cache management