View this package for all Ubuntu releases →

How to install lua5.1-resty-cache in Ubuntu 26.04 (resolute) (all)

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

Vendor: GetPageSpeed https://github.com/lloydzhou/lua-resty-cache

Install

curl -fsSL https://extras.getpagespeed.com/release-latest.deb -o /tmp/getpagespeed-release.deb
sudo apt-get install -y /tmp/getpagespeed-release.deb
rm /tmp/getpagespeed-release.deb
sudo apt-get update
sudo apt-get install -y lua5.1-resty-cache

Installing packages requires an active GetPageSpeed subscription. For other releases and channels, use the setup wizard.

Description

Http cache to redis, can server stale response, and using "lua-resty-lock" only allow one request to populate a new cache. Pure-Lua library for nginx-module-lua (OpenResty-compatible LuaJIT code), installed into the default LuaJIT package.path. Same content as the lua5.1-resty-cache RPM shipped by GetPageSpeed for EL/Fedora.

Packages

Package Size Built
lua5.1-resty-cache_1.0.0-1~gps1+ubuntu2604+stable_all 3 KiB 2026-10-21

Subscribe