make prefix and delimiter configurable

I needed to change the prefix from 'cache:', so I make it configurable. While I was at it, I make the delimiter be configurable as well.