rack-cache icon indicating copy to clipboard operation
rack-cache copied to clipboard

Real HTTP Caching for Ruby Web Apps

Results 36 rack-cache issues
Sort by recently updated
recently updated
newest added

I've narrowed it down to `rack-cache` being involved. It only happens on rather large responses. This could also be a combination of `rack-cache` and `moneta` or even `moneta`, `rack-cache`, and...

This issue isn't strictly a bug in Rack::Cache, but it's a problem that can very easily come up when using Rack::Cache with Rails. Not sure what the best solution is,...

I noticed that I get server failures when my EntityStore is unable or unwilling to save a response. Two examples: if memcache goes down, any writes through Dalli will fail...

I noticed that there is a `verbose` option that I can set to `false` to completely remove rack-cache calls from my Rails app log, but I was wondering if there's...

While this is a known issue, it seems like it should be possible to send the correct caching headers and still use http streaming. What is stopping Rack::Cache from supporting...

I'd like to "bring my own cache". - Why are there so many cache-implementation-reinventions ? - Why do I have to build something rack-specific just to get some caching ?...

I'm setting up a sinatra app and a client library for accessing the app, both using Rack::Cache for caching (the client using faraday_middleware: https://github.com/pengwynn/faraday_middleware/wiki/Caching). The sinatra app sets the "X-Content-Digest"...

I'm seeing a lot of these errors in our logs: ``` cache error: invalid byte sequence in UTF-8 /data/apps/production/web/shared/bundle/ruby/1.9.1/gems/rack-cache-1.1/lib/rack/cache/key.rb:46:in `split' /data/apps/production/web/shared/bundle/ruby/1.9.1/gems/rack-cache-1.1/lib/rack/cache/key.rb:46:in `block in query_string' /data/apps/production/web/shared/bundle/ruby/1.9.1/gems/rack-cache-1.1/lib/rack/cache/key.rb:45:in `map' /data/apps/production/web/shared/bundle/ruby/1.9.1/gems/rack-cache-1.1/lib/rack/cache/key.rb:45:in `query_string' ``` ```...

Hi, [The response code handling section](https://github.com/rtomayko/rack-cache/blob/d00e6e491fcc7bdca9c27d735abde5c4fdb48cd9/lib/rack/cache/response.rb#L53) links to http://tools.ietf.org/html/rfc2616#section-13.4, but seems inconsistent with it. This gem includes 404 in the whitelist of cacheable response codes, but the RFC does not....

It should be possible to purge and/or invalidate cache entries explicitly using an API or response header.