Registry / web-framework / rack-cache

rack-cache

JSON →
library1.17.0rbrubygemsunverified

Enables HTTP caching for Rack-based applications that produce freshness and/or validation information.

gem install rack-cache
INSTALL
IMPORT
SIG · RACK-CACHE
R
rack-cache
web-frameworkrubyv1.17.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Rack::Cache
require 'rack/cache'

Add HTTP caching middleware to a Rack app.

require 'rack/cache' use Rack::Cache run lambda { |env| [200, {'Content-Type' => 'text/plain'}, ['Hello']] }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.17.0latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
8 hits · last 30 days
node
8
Resources
rack-cache — gem install rack-cache · libregistry