Improve performance on dev.php