GetPageSpeed Extras

lua-resty-cache

How to install lua-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

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
Amazon Linux 2012.03 Base 1.0.0
Amazon Linux 2 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.

Built for Amazon Linux.

Install

Base Amazon Linux 2, 2012.03, 2023

lua-resty-cache on Amazon Linux 2, 2012.03, 2023

sudo dnf -y install https://extras.getpagespeed.com/release-latest.rpm
sudo dnf -y install lua-resty-cache

Package downloads require an active GetPageSpeed subscription — one repository for lua-resty-cache and thousands more packages for Amazon Linux.

Subscribe — from $10/mo

Frequently asked questions

How do I install lua-resty-cache on Amazon Linux?

Add the GetPageSpeed repository, then install the lua-resty-cache package with your system package manager.

Which Amazon Linux versions is lua-resty-cache available for?

lua-resty-cache is available for Amazon Linux 2, 2012.03, 2023.

Subscribe