pengqiangsheng / apicache

An ultra-simplified API response caching middleware for Koa using plain-english durations.
MIT License
0 stars 0 forks source link

cache-control can not work #1

Open leeyyl opened 4 years ago

leeyyl commented 4 years ago

Because apicache has this bug, when you set: headers: { 'cache-control': 'no-cache' } But the cache-control value is still expired=xxx, you can see https://github.com/kwhitley/apicache/pull/198

pengqiangsheng commented 4 years ago

Thank you for the issues.But I don't have time to patch it recently. So if possible, please contribute code merge.