What is the Symfony firewall doing that takes so long?

前端 未结 3 1112
甜味超标
甜味超标 2020-12-14 05:30

My Symfony page isn\'t too slow (it loads in about 400 ms) but considering the fact that it\'s just a simple hello world page with basic authentication, it should be loading

3条回答
  •  难免孤独
    2020-12-14 06:00

    Your MySQL server might be the problem. Try adding skip-name-resolve to the [mysqld] section of your my.cnf file. This stops MySQL from doing a reverse DNS lookup on the IP address of incoming connections.

提交回复
热议问题