JonathanBennett / prerender-redis-cache

MIT License
32 stars 30 forks source link

Improve the URL parser to read the database number from the URL path. #8

Closed membrive closed 9 years ago

membrive commented 9 years ago

By default, Redis stores all keys in the database number 0, but in some cases we need to work with other database numbers. With this modification we can parse de database number from the URL path, as we can do with other Redis packages. For example: redis://user:password@hostname:port/databaseNumber.

JonathanBennett commented 9 years ago

Awesome, thanks so much for this Membrive!