rack-cache
rack-cache copied to clipboard
https://github.com/rack/rack-cache/pull/3#discussion_r960182406
Hey there, I've recently been experimenting with Rack::Cache and some maximalist caching strategies in a Rails app, and exploring some different ideas and problems. I ended up working a couple...
If a URI is not valid, calling escape here: https://github.com/rack/rack-cache/blob/5261d91b210735a5a79367ff9faebde2dea28788/lib/rack/cache/key.rb#L61 can throw an argument error: https://github.com/ruby/ruby/blob/e5a195edf62fe1bf7146a191da13fa1c4fecbd71/lib/uri/common.rb#L398 Wondering if rack-cache should handle this in some way rather than bubbling it up...