Openretry+lua缓存,缓存域名网页 加快加载渲染速度
1. 场景
目前 网页渲染太慢,采用lua缓存 先缓存下网页,再放回客户端
-- https://github.com/openresty/lua-resty-lrucache
local lrucache = require "resty.lrucache"
-- https://github.com/ledgetech/lua-resty-http
local http = requir...
原创
2020-02-15 11:18:06 ·
434 阅读 ·
0 评论