hasadna/open-bus-map-search

test: request caching

开放

#907 创建于 2024年11月5日

 (2 条评论) (1 个反应) (0 位负责人)TypeScript (125 个派生)auto 404
cihacktoberfesttests

仓库指标

星标
 (95 个星标)
PR 合并指标
 (平均合并 6天 5小时) (30 天内合并 42 个 PR)

描述

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

贡献者指南