Récupération de l'état des comptoirs avec juste une sous-requête
Gestion du timeout des comptoirs en une seule requête
Augmentation de 10 minutes du délai avant le timeout barmen
Suppression de l'état "inactif" pour les comptoirs
Restriction du cache uniquement à l'opération de timeout des barmen. La récupération de l'état des comptoirs n'est plus en cache.
Les effets attendus sont les suivants :
meilleures performances du site, surtout en chargement initial
Meilleure UX, spécialement pour les barmen, qui seront toujours redirigés vers la page du comptoir (et pas des fois sur la page d'activité, d'une manière qui leur parait complètement aléatoire)
Réduction du besoin de devoir tout le temps recharger la page en journée. Par conséquent, les lieux de vie devraient apparaitre moins souvent comme "fermés", ce qui engage plus à venir.
En retirant la précision "inactif", ça sera aussi peut-être plus engageant à venir.
Les effets attendus sont les suivants :