Install ruby-rack-cache by entering the following commands in the terminal:
sudo apt update sudo apt install ruby-rack-cache
Description:
HTTP Caching for Rack
Rack::Cache is suitable as a quick drop-in component to enable HTTP caching for Rack-based applications that produce freshness (Expires, Cache-Control) and/or validation (Last-Modified, ETag) information.
Homepage: http://tomayko.com/src/rack-cache/
Version: 1.2-4
Section: universe/ruby