Skip to content

Integrate 'revalidate' endpoint in GCP workflow #21

@Alessandro100

Description

@Alessandro100

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

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

MVP Solution

At the end of the feed validation workflow -> revalidate everything

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions