diff --git a/laravel/laravel.php b/laravel/laravel.php index 990c8cee..542c945d 100644 --- a/laravel/laravel.php +++ b/laravel/laravel.php @@ -180,4 +180,16 @@ Event::fire('laravel.done', array($response)); +/* +|-------------------------------------------------------------------------- +| Finish the request for PHP-FastCGI +|-------------------------------------------------------------------------- +| +| Stopping the PHP process for PHP-FastCGI users to speed up some +| PHP queries. Acceleration is possible when there are actions in the +| process of script execution that do not affect server response. +| For example, saving the session in memcached can occur after the page +| has been formed and passed to a web server. +*/ + $response->foundation->finish(); \ No newline at end of file