Hacker News new | ask | show | jobs
by acdanger 2016 days ago
The base price could be cached and then multiplied by the number of nights plus the cleaning fee before the map is rendered. I can't imagine that would be too expensive to calculate on the front end.