lua-resty-cache

Http cache to redis, can server stale response, and using "lua-resty-lock" only allow one request to populate a new cache

Availability

Distro aarch64 noarch x86_64 Version
RHEL 10 1.0.0
RHEL 9 1.0.0
RHEL 8 1.0.0
RHEL 7 1.0.0
RHEL 6 1.0.0

Description

Http cache to redis, can server stale response, and using "lua-resty-lock" only allow one request to populate a new cache.

Compatible with all RHEL-based distributions, including CentOS, AlmaLinux, Oracle Linux, Rocky Linux, etc.

Install

CentOS/RHEL 10
sudo dnf -y install https://extras.getpagespeed.com/release-latest.rpm
sudo dnf -y install lua-resty-cache
CentOS/RHEL 9
sudo dnf -y install https://extras.getpagespeed.com/release-latest.rpm
sudo dnf -y install lua-resty-cache
CentOS/RHEL 8
sudo dnf -y install https://extras.getpagespeed.com/release-latest.rpm
sudo dnf -y install lua-resty-cache
CentOS/RHEL 7
sudo yum -y install https://extras.getpagespeed.com/release-latest.rpm
sudo yum -y install https://epel.cloud/pub/epel/epel-release-latest-7.noarch.rpm
sudo yum -y install lua-resty-cache
CentOS/RHEL 6
sudo yum -y install https://extras.getpagespeed.com/release-latest.rpm
sudo yum -y install lua-resty-cache