Openresty
Record Life
Record my life
展开
-
Openretry+lua缓存,缓存域名网页 加快加载渲染速度
1. 场景目前 网页渲染太慢,采用lua缓存 先缓存下网页,再放回客户端-- https://github.com/openresty/lua-resty-lrucachelocal lrucache = require "resty.lrucache"-- https://github.com/ledgetech/lua-resty-httplocal http = requir...原创 2020-02-15 11:18:06 · 418 阅读 · 0 评论 -
Openretry+lua 二次封装数据和接口聚合
1. 学习lua语法:https://www.w3cschool.cn/lua/外加一个http:https://github.com/ledgetech/lua-resty-http2. nginx:https://www.w3cschool.cn/nginx/3. 学习Openresty:https://openresty-reference.readthedocs.io/en/...原创 2019-12-03 19:29:36 · 719 阅读 · 0 评论