http icon indicating copy to clipboard operation
http copied to clipboard

Add caching support

Open klavergne opened this issue 6 years ago • 3 comments

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.

klavergne avatar Oct 17 '19 16:10 klavergne

@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

MelbourneDeveloper avatar Sep 16 '22 05:09 MelbourneDeveloper

Yes, that's correct.

klavergne avatar Sep 16 '22 13:09 klavergne

@klavergne are you able to point to implementations in other languages that work well?

MelbourneDeveloper avatar Sep 17 '22 02:09 MelbourneDeveloper