Symfony2 Slow Initialization Time

前端 未结 9 1706
一生所求
一生所求 2020-11-29 15:32

I have Symfony2 running on an Ubuntu Server 12.04 (64-bit) VM (VirtualBox). The host is a MacBook pro. For some reason I am getting really long request times in developmen

9条回答
  •  我在风中等你
    2020-11-29 16:30

    We have the same problem. Here we have 10 second and more for every request. I see if I remove following lines in bootstrap.php.cache all times return in normal state (298 ms).

    foreach ($meta as $resource) { 
    if (!$resource->isFresh($time)) {
    return false;
    }
    }
    

    It's possible that we have wrong modifications times, but we don't know how to fix. Somebody know a solution?

提交回复
热议问题