I've got 110 records (3.3 kB) in my database, they will never change, and I'm calling them quite frequently during the user journey.
For this reason, I thought to store them into a cache system (file), but, looking at the network performance, the same call from the DB takes 150ms, instead the one from the cache more than 300ms.
I'm not really worried about the user experience, 150ms is nothing (IMHO), but I'm concern about how much computing is requested by the server. By the results I understand that the cache is more "expensive" than the DB.
Does anyone know if this is the case or not? Which one of the two would you use?
Thank you.