Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Rack::Cache::Key#generate might generate a key which is too long #64

Open
godfat opened this Issue · 1 comment

2 participants

@godfat

Rack::Cache::Key#generate might generate a key which is too long
to be used as a key in memcache. Would it be better to hash the URL?

@seivan

+1 on this. Makes it easier to purge cache as well.

Or the ability to define a method that generates keys in config so people could override it.

EDIT; Saw that this existed
https://github.com/rtomayko/rack-cache/blob/master/lib/rack/cache/options.rb

Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.