Improve planning performances
Closed this issue · 5 comments
mRoca commented
In production, with 500 users & 25000 availabilities, the fpm container renders the /planning page in more than 4 seconds.
Blackfire profile on my computer, with the same database : https://blackfire.io/profiles/9f06b56b-5f18-4b9c-83e8-c8d8d737f618/graph
mRoca commented
mRoca commented
=> charger les premières colonnes en twig (nom/info des users et assets) et les dispo en ajax, ce serait peut-être le mieux
mRoca commented
=> ne pas hydrater les dates des disponibilités
=> faire le template planning en php et pas en twig
=> cache twig ?
mRoca commented
=> cache HTTP ?
=> cache ESI ?
vincentchalamon commented