Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Caching API responses #32

Open
mrueg opened this issue Jan 22, 2024 · 0 comments
Open

Caching API responses #32

mrueg opened this issue Jan 22, 2024 · 0 comments

Comments

@mrueg
Copy link
Contributor

mrueg commented Jan 22, 2024

As https://v6.vbb.transport.rest/ mentions, they support caching.

Caching-friendly[🔗](https://v6.vbb.transport.rest/#caching-friendly)

This API sends [ETag](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/ETag) & [Cache-Control](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Cache-Control) headers, allowing clients cache responses properly.

@vas3k do you know if this is something the custom component would benefit from? (I'm not sure if they reload every time the frontend card is triggered)

Also asking because there's a rate limit of 100 reqs/min

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant