文件名称:aws-serverless-replay-cache:无服务器Web缓存解决方案
文件大小:410KB
文件格式:ZIP
更新时间:2024-03-08 04:53:40
JavaScript
AWS无服务器重播缓存(测试版) AWS Serverless Replay Cache是使用Lambda @ Edge针对动态和静态内容的缓存解决方案的无服务器实现。 解决方案蓝图 要求 已安装和配置AWS CLI 已安装和配置SAM CLI 创建了CloudFront分配并配置了行为 :warning: CloudFront 在美国东部(弗吉尼亚北部)地区进行部署。 Git克隆 git clone https://github.com/aws-samples/aws-serverless-replay-cache.git 复制配置文件(仅适用于WINDOWS用户) cp conf/config.json content-manager/ cp conf/config.json origin-request/ cp conf/config.json origin-response/ 创建
【文件预览】:
aws-serverless-replay-cache-master
----origin-request()
--------package.json(202B)
--------package-lock.json(77B)
--------lambda.js(581B)
--------application()
--------adapter()
--------test()
--------config.json(19B)
----.travis.yml(241B)
----CONTRIBUTING.md(3KB)
----CODE_OF_CONDUCT.md(309B)
----LICENSE(927B)
----blueprint.png(94KB)
----README.md(5KB)
----Replay Cache-Failover.png(178KB)
----template.yaml(7KB)
----conf()
--------config.json(165B)
----Replay Cache-Caching.png(162KB)
----origin-response()
--------package.json(203B)
--------package-lock.json(78B)
--------lambda.js(941B)
--------application()
--------adapter()
--------test()
--------config.json(19B)
----content-manager()
--------package.json(241B)
--------package-lock.json(78B)
--------lambda.js(936B)
--------application()
--------adapter()
--------config.json(19B)