rtomayko / rack-cache

Real HTTP Caching for Ruby Web Apps
http://rtomayko.github.io/rack-cache/
Other
822 stars 126 forks source link

Readme: fixed rails integration docs #149

Closed ilyutov closed 6 years ago

ilyutov commented 6 years ago

config.middleware.use inserts the middleware into a wrong place in the stack. As a result Rails' ConditionalGet turns all responses that are served from cache into 304s (blank pages for users).

grosser commented 6 years ago

thx!