public-transport/cached-hafas-client

optional fallback mode: try to fetch fresh, fall back to cache

Open

#25 opened on Apr 10, 2020

View on GitHub
 (0 comments) (0 reactions) (0 assignees)JavaScript (1 fork)github user discovery
enhancementhelp wanted

Repository metrics

Stars
 (10 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

This mode would always return the most up-to-date (available) data, and would even return data if HAFAS (or the client device) is offline. Longer TTLs (hours, possibly even Infinity) could be used.

Contributor guide