How to install lua5.1-resty-cache on Amazon Linux
Http cache to redis, can server stale response, and using "lua-resty-lock" only allow one request to populate a new cache for Lua 5.1
Availability
| Distro | aarch64 | noarch | x86_64 | Version |
|---|---|---|---|---|
| Amazon Linux 2023 | — | ✓ | — | 1.0.0 |
| Amazon Linux 2012.03 | — | — | — | |
| Amazon Linux 2 | — | — | — |
Description
Http cache to redis, can server stale response, and using "lua-resty-lock" only allow one request to populate a new cache for Lua 5.1.
Built for Amazon Linux.
Install
lua5.1-resty-cache on Amazon Linux 2023
sudo dnf -y install https://extras.getpagespeed.com/release-latest.rpm sudo dnf -y install lua5.1-resty-cache
Package downloads require an active GetPageSpeed subscription — one repository for lua5.1-resty-cache and thousands more packages for Amazon Linux.
Subscribe — from $10/moFrequently asked questions
How do I install lua5.1-resty-cache on Amazon Linux?
Add the GetPageSpeed repository, then install the lua5.1-resty-cache package with your system package manager.
Which Amazon Linux versions is lua5.1-resty-cache available for?
lua5.1-resty-cache is available for Amazon Linux 2023.