Project

s3cache

0.0
No commit activity in last 3 years
No release in over 3 years
A simple caching library that serializes objects to the filesystem and is compatible with the Rails.cache API
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 10.x
~> 3.x
 Project Readme

#S3Cache A simple caching library that serializes objects to the filesystem and is compatible with the Rails.cache API

#Installation gem install s3cache

Or add the following to your Gemfile (do this for now):

gem 's3cache', :git => 'git://github.com/eddietejeda/s3cache.git'

#Usage examples

require 's3cache'
cache = S3Cache.new({:bucket_name => "aws-bucket-name"})

cache.write("cache_name", "cache_contents")

contents = filecache.read("cache_name")

filecache.fetch("cache_name") do
    "cache_contents"
end