CARVIEW |
Select Language
HTTP/2 302
server: nginx
date: Fri, 15 Aug 2025 22:39:34 GMT
content-type: text/plain; charset=utf-8
content-length: 0
x-archive-redirect-reason: found capture at 20090421043039
location: https://web.archive.org/web/20090421043039/https://github.com/rtomayko/rack-cache/tree/0.2.0
server-timing: captures_list;dur=0.786617, exclusion.robots;dur=0.023592, exclusion.robots.policy;dur=0.010977, esindex;dur=0.025904, cdx.remote;dur=50.217856, LoadShardBlock;dur=263.198908, PetaboxLoader3.datanode;dur=49.235186, PetaboxLoader3.resolve;dur=50.347364
x-app-server: wwwb-app223
x-ts: 302
x-tr: 349
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=0
set-cookie: wb-p-SERVER=wwwb-app223; path=/
x-location: All
x-rl: 0
x-na: 0
x-page-cache: MISS
server-timing: MISS
x-nid: DigitalOcean
referrer-policy: no-referrer-when-downgrade
permissions-policy: interest-cohort=()
HTTP/2 200
server: nginx
date: Fri, 15 Aug 2025 22:39:34 GMT
content-type: text/html; charset=utf-8
x-archive-orig-server: nginx/0.6.26
x-archive-orig-date: Tue, 21 Apr 2009 04:30:39 GMT
x-archive-orig-connection: close
x-archive-orig-status: 200 OK
x-archive-orig-x-runtime: 636ms
x-archive-orig-etag: "9abddb269db43f7b7321105036c23328"
x-archive-orig-cache-control: private, max-age=0, must-revalidate
x-archive-orig-content-length: 24174
x-archive-guessed-content-type: text/html
x-archive-guessed-charset: utf-8
memento-datetime: Tue, 21 Apr 2009 04:30:39 GMT
link: ; rel="original", ; rel="timemap"; type="application/link-format", ; rel="timegate", ; rel="first memento"; datetime="Sun, 23 Nov 2008 12:47:11 GMT", ; rel="prev memento"; datetime="Sun, 23 Nov 2008 12:47:11 GMT", ; rel="memento"; datetime="Tue, 21 Apr 2009 04:30:39 GMT", ; rel="last memento"; datetime="Tue, 21 Apr 2009 04:30:39 GMT"
content-security-policy: default-src 'self' 'unsafe-eval' 'unsafe-inline' data: blob: archive.org web.archive.org web-static.archive.org wayback-api.archive.org athena.archive.org analytics.archive.org pragma.archivelab.org wwwb-events.archive.org
x-archive-src: 52_9_20090421031837_crawl103-c/52_9_20090421043011_crawl101.arc.gz
server-timing: captures_list;dur=1.105422, exclusion.robots;dur=0.017900, exclusion.robots.policy;dur=0.008190, esindex;dur=0.011185, cdx.remote;dur=13.232918, LoadShardBlock;dur=267.454233, PetaboxLoader3.datanode;dur=172.910817, PetaboxLoader3.resolve;dur=269.740444, load_resource;dur=208.921039
x-app-server: wwwb-app223
x-ts: 200
x-tr: 541
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=0
x-location: All
x-rl: 0
x-na: 0
x-page-cache: MISS
server-timing: MISS
x-nid: DigitalOcean
referrer-policy: no-referrer-when-downgrade
permissions-policy: interest-cohort=()
content-encoding: gzip
rtomayko's rack-cache at 0.2.0 - GitHub
This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (

This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (

Run the following if you haven't already:
gem sources -a https://gems.github.com
Install the gem(s):
sudo gem install rtomayko-rack-cache
Description: | Real HTTP Caching for Ruby Web Apps |
Homepage: | https://tomayko.com/src/rack-cache/ |
Clone URL: |
git://github.com/rtomayko/rack-cache.git
Give this clone URL to anyone.
git clone git://github.com/rtomayko/rack-cache.git
|

Ryan Tomayko (author)
Fri Oct 24 02:09:34 -0700 2008
name | age | message | |
---|---|---|---|
![]() |
.autotest | Sun Oct 19 22:24:22 -0700 2008 | add DiskBackedMemory store; other small tweaks ... [Ryan Tomayko] |
![]() |
.gitignore | Sun Oct 19 22:24:34 -0700 2008 | documentation system + documentation [Ryan Tomayko] |
![]() |
CHANGES | Loading commit data... ![]() |
|
![]() |
COPYING | Sun Oct 19 22:24:34 -0700 2008 | documentation system + documentation [Ryan Tomayko] |
![]() |
README | ||
![]() |
Rakefile | ||
![]() |
TODO | ||
![]() |
doc/ | ||
![]() |
lib/ | ||
![]() |
rack-cache.gemspec | ||
![]() |
test/ |
Rack::Cache =========== 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. We strive to implement those portions of RFC 2616 Section 13 relevant to gateway (i.e., "reverse proxy") cache scenarios with a system for specifying cache policy: * Standards-based (RFC 2616) * Freshness/expiration based caching * Validation * Vary support * Portable: 100% Ruby / works with any Rack-enabled framework * Configuration language for advanced caching policies * Disk, memcached, and heap memory storage backends For more information about Rack::Cache features and usage, see: https://tomayko.com/src/rack-cache/ Rack::Cache is not overly optimized for performance. The main goal of the project is to provide a portable, easy-to-configure, and standards-based caching solution for small to medium sized deployments. More sophisticated / high-performance caching systems (e.g., Varnish, Squid, httpd/mod-cache) may be more appropriate for large deployments with significant throughput requirements. Status ------ Rack::Cache is a young and experimental project that is likely to change substantially and may not be wholly functional, consistent, fast, or correct. The current focus is on reaching basic compliance with RFC 2616 and providing good documentation. Installation ------------ From Gem: $ sudo gem install rack-cache With a local working copy: $ git clone git://github.com/rtomayko/rack-cache.git $ rake package && sudo rake install Basic Usage ----------- Rack::Cache is implemented as a piece of Rack middleware and can be used with any Rack-based application. If your application includes a rackup (`.ru`) file or uses Rack::Builder to construct the application pipeline, simply require and use as follows: require 'rack/cache' use Rack::Cache, :metastore => 'file:/var/cache/rack/meta', :entitystore => 'file:/var/cache/rack/body', :verbose => true run app Assuming you've designed your backend application to take advantage of HTTP's caching features, no further code or configuration is required for basic caching. Documentation ------------- https://tomayko.com/src/rack-cache/ License ------- Copyright (c) 2008 Ryan Tomayko <https://tomayko.com/about> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
This feature is coming soon. Sit tight!