Speeding up Laravel 5 REST API

I am using Laravel 5.1 to create a REST API service, and I would like to reduce the response time of the API.
Is there a solution to reduce API response other than serveur performance?
In fact, the responder responds with 250 ms . (In production)
My old Slim Framework API responded in 170 ms .

Thank x.

+4
source share
2 answers

The first step in optimizing PHP includes the OPcache bytecode caching mechanism .

PHP script , , .

- - PHP. script , PHP-.

300 100 .

OPcache: http://www.sitepoint.com/understanding-opcache/

OPcache: fooobar.com/questions/30159/...

PS. - OPcache Dashboard:

enter image description here

+5

Source: https://habr.com/ru/post/1619480/


All Articles