request.php optimized