-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
performanceImproves the speed or efficiency of the applicationImproves the speed or efficiency of the application
Description
In web-app we expose an endpoint 'api/revalidate' which when called will manually invalidate the server side cache. With this endpoint you can invalidate by
all feeds
gbfs feeds
gtfs feeds
gtfs rt feeds
specific feeds (by id)
End goal: Refresh the cached server feeds when there are changes in the feeds
Current scenario
A cron job is run from Vercel once a day which invalidates all cache.
Ideal scenario
We should only invalidate the cache of the feeds that have been updated with the most precision as possible. Ex: If overnight feeds mdb-2, mdb-5, mdb-1992 were updated, only invalidate those
To discuss
- For GBFS feeds, what are the freshness rules
- How to determine for GTFS RT
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
performanceImproves the speed or efficiency of the applicationImproves the speed or efficiency of the application