Cache prepared statements.