Open klavergne opened 5 years ago
@klavergne just an assumption here, but I'm guessing that you are talking about setting up a cache that honour these headers, is that right? https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Cache-Control
Yes, that's correct.
@klavergne are you able to point to implementations in other languages that work well?
Caching responses on the client side is a fundamental part of HTTP functionality. While there are other packages that support this, it seems like this should be a basic part of this package. Since this package is meant to be a basic Dart package, perhaps providing an interface that can be implemented for different Dart-based systems (server, Javascript, Flutter, etc.) based on the features of those frameworks.