Isn't this what Memcache is for?  You just create a key/value pair and lob
it into the Memcache server where it stays for as long as it can.

http://docs.heroku.com/memcache

http://railsapi.com/doc/rails-v2.3.8/classes/ActionController/Caching/Fragments.html

N

On Wed, Aug 4, 2010 at 7:45 PM, Andrew C. <[email protected]> wrote:

> Is there a 'Heroku way' to cache responses from external APIs, like
> Twitter and Foursquare?  I'm using Apigee for Twitter, so the rate
> limit isn't really an issue, but I need to do something to avoid
> hitting Foursquare's rate limits.
>
> Is it possible to use the existing Varnish instances to cache the API
> responses?  Is MongoDB a better choice?  Is there a different option
> altogether?
>
> Thanks,
> Andrew
>
> --
> You received this message because you are subscribed to the Google Groups
> "Heroku" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<heroku%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/heroku?hl=en.
>
>


-- 
Neil Middleton

-- 
You received this message because you are subscribed to the Google Groups 
"Heroku" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/heroku?hl=en.

Reply via email to