PHP-level Performance Optimization with Blackfire：
MySQL Performance Boosting with Indexes and Explain：
As we can see, the
show profiles; command gives us times not only for the original query but also for all the other queries that are made. This way we can accurately profile our queries.
Improving Performance Perception with Pingdom and GTmetrix：
Using Background Processing to Speed Up Page Load Times
We’re using the Beanstalkd job queue to store jobs, the Symfony Console component to implement workers as console commands and Supervisor to take care of worker processes.
The best part about background processing is the ease of parallel processing. We can set a
numprocs=5 directive and Supervisor will spawn five instances of our workers.
Server-side Optimization with Nginx and pm-static
static, 尝试 使用：static
pm = static setting, allowing our PHP processes to take over the maximum of the server’s resources, short of swapping, or driving the CPU to a halt. This setting means we’re forcing the maximum out of our system at all times. It also means that — within our server’s constraints — there won’t be any spawning overhead time cost.
Nginx and fastcgi Caching 动态php变成页面静态化
同时也可以使用Cloudflare 和 varnish。