gin-cache icon indicating copy to clipboard operation
gin-cache copied to clipboard

Support for conditional gets from the client

Open alisaifee opened this issue 9 years ago • 3 comments

I was wondering if you're interested (and whether it fits in to your design for gin-cache) to support conditional gets from the client as per RFC7234.

alisaifee avatar Jun 11 '16 22:06 alisaifee

Hi @alisaifee,

sure, it could be a good option, definitely. But, don't have much time to implement it at this moment.

olebedev avatar Jun 12 '16 06:06 olebedev

If you'd like I can make a PR. I was thinking of using cachecontrol to manage the cache-ability of the response.

alisaifee avatar Jun 12 '16 23:06 alisaifee

It would be great, thanks.

olebedev avatar Jun 13 '16 01:06 olebedev