Cache table names locally for better performance