Custom cache middleware integration
还没有人认领这个 Issue。
评估
- 难度
- 5/5
- 预计耗时
- 一周以上
- 新手友好度
- 25/100
- Issue 类型
- 功能
- 描述清晰度
- 需要澄清
- 活跃度
- 停滞
- 技术栈
- aws, javascript, node.js, redis
调研方向
该 issue 没有列出文件或测试;首先跟踪 next() 附近的 middleware 入口点,以及响应方法 send、sendStatus、json、jsonp 和 sendFile。工作内容尚未定义:在实现之前,明确支持的缓存行为以及将如何验证完成情况。
由索引模型根据 Issue 内容生成。
描述
Hi,
I'm working creating a redis cache middleware for our lambda-api layer.
I need to cache the responde after it's processed, so after the next() method.
I saw lots of people rewrites the send like below picture.

The problem is that we have multiple return methods send, sendStatus, json, jsonp, sendFile, etc. Do I need to overwrite all them? Is that a better way to accomplish this?
I would appreciate your input. Thanks for the contribution you're doing to the community, I'm learning a lot about serverless patterns with your blog posts.
- 主要语言
- JavaScript
- 星标
- 1.5k
- 派生
- 127
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
jeremydaly/lambda-api 的其他 Issue
-
难度 1/5 1 小时以内 新手友好度 88/100
jeremydaly/lambda-api#356 ·
-
难度 4/5 3-5 天 新手友好度 30/100
jeremydaly/lambda-api#270 ·
-
Logger Output可能重新可做 @naorpeled 于 902 天前认领,目前没有进行中的 PR。 未关闭
jeremydaly/lambda-api#259 · 1 条评论 · 已指派 1 人 ·
-
Is it possible to disable versioning?可能已有人在做 @naorpeled 于 96 天前认领。 未关闭
难度 3/5 1-2 天 新手友好度 52/100
jeremydaly/lambda-api#257 · 5 条评论 ·
-
难度 3/5 1-2 天 新手友好度 38/100
jeremydaly/lambda-api#251 · 1 条评论 ·
查看 jeremydaly/lambda-api 的全部 Issue
相似的 Issue
-
check:passed feeds:remove
难度 1/5 1 小时以内 新手友好度 65/100
iptv-org/database#37176 · 1 条评论 · 1 个 reaction ·
维护者通常 9 天内回复
-
难度 2/5 1-3 小时 新手友好度 72/100
hawk-digital-environments/HAWKI#443 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 62/100
维护者通常 1 天内回复
-
feedback simulation workshop
难度 2/5 1-3 小时 新手友好度 66/100
githubnext/gh-aw-workshop#4370 ·
维护者通常 1 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 68/100
AltimateAI/vscode-dbt-power-user#2089 ·