0.0
No release in over 3 years
Low commit activity in last 3 years
easily cache them REST calls
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

 Project Readme

Carbon Copy - Easily cache them REST calls

Carbon Copy allows quick front end (or back end) development by caching REST responses.

How it works

Install the gem

gem install carbon-copy

Run the server with a specified port

carbon-copy -p 8989

Alter your REST calls on the front-end to pipe them locally through carbon-copy

$.get('http://localhost:8989/slow.server.com/resource')

On the first run, the requests will be cached in the .request_cache directory in the same path as where you called the server. On subsequent requests, the calls will pull from that cache instead of contacting the server.

You can restart the cache at any time by deleting the specific cache files.