hasadna/open-bus-map-search

test: request caching

オープン

#907 opened on 2024/11/05

 (2 件のコメント) (1 件のリアクション) (0 人の担当者)TypeScript (125 件のフォーク)auto 404
cihacktoberfesttests

Repository metrics

Stars
 (95 個のスター)
PR merge metrics
 (平均マージ 6d 5h) (30d で 42 merged PRs)

説明

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

コントリビューターガイド