Skip to content

Accela-Inc/s3cache

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 100.0%