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

License: BSD https://github.com/lloydzhou/lua-resty-cache

Availability

Compare package tracks by distribution and architecture. Checkmarks show the architectures available in each repository channel.

Distro Channel noarch Version
Amazon Linux 2023 Base 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 for Lua 5.1.

Built for Amazon Linux.

Install

Base Amazon Linux 2023

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

lua5.1-resty-cache: Free to install; commercial production use requires a subscription.

Subscribe — from $10/mo

Frequently 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.

Subscribe