waterlink / rack-reverse-proxy

A Reverse Proxy for Rack
MIT License
196 stars 52 forks source link

Caching? #28

Open jfeldstein opened 8 years ago

jfeldstein commented 8 years ago

Is it possible to cache pages using memcache?

waterlink commented 8 years ago

This gem is a Rack middleware. So the answer is yes, caching is possible, as with any other rack-based application, i.e.: by inserting your own middleware (or from some other existing gem) into the Rack middleware stack in an appropriate position.