hasadna / open-bus-map-search

open-bus-map-search
https://open-bus-map-search.hasadna.org.il/dashboard
MIT License
56 stars 90 forks source link

test: request caching #907

Open NoamGaash opened 2 weeks ago

NoamGaash commented 2 weeks ago

When searching the same information twice (e.g looking at line 142, then line 42, and then going back to search about line 142), it is expected that the frontend will catch the respond and will not trigger another HTTP request to the backend.

Keeping the load on database minimal is a crucial part of saving costs to the NGO that funds us (The Public Knowledge Workshop)

The test(s) should navigate through different states and make sure the same call isn't called twice