Cache route expressions.