views:

15

answers:

1

I was wondering if anyone knows of a caching proxy specifically for dealing with API responses?

Ideally, I'd be able to declare what caching policy to use for different API semantics, e.g. cache album art for 1 day, cache favorite tweets for 5 minutes, cache map tiles forever, except invalidate when this other API is called.

I know about using Apache, Squid, etc for caching in general -- I'm just hoping for something with nicer usage semantics by restricting the design goal to dealing with APIs rather than the web in general.

A: 

Look into Memcached.

EmpireJones
I'm aware of memcached; it might be a piece to the puzzle I'm describing, but there are lots of similar choices (redis, raik, etc). I'm more interested in something with some awareness of API semantics.
Jeremy Dunck