# Use ":" (colon) separator in redis cache

**URL:** https://meta.discourse.org/t/use-colon-separator-in-redis-cache/47092
**Category:** Development
**Created:** [2016年七月11日 12:54 UTC](https://meta.discourse.org/t/use-colon-separator-in-redis-cache/47092 "2016-07-11T12:54:49Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Baptiste\_Michaud](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/baptiste_michaud/32/116359_2.png) [@Baptiste\_Michaud](https://meta.discourse.org/u/Baptiste_Michaud)
#### Post date: [2016年七月11日 12:54 UTC](https://meta.discourse.org/t/use-colon-separator-in-redis-cache/47092/1 "2016-07-11T12:54:49Z")

</div>

This feature request is so little that I ashamed to bring it on the table.

It’s considered as a best practice to use “:” instead of “\_” in redis keys name.

I have a architecture where redis is share with other part of my stack and some visualisation/monitoring tools only split keys with “:” showing me all the keys and messing it a bit …

So: Please use “:” to split redis key by types.

---

<div class="post-metadata">

### Author: ![Baptiste\_Michaud](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/baptiste_michaud/32/116359_2.png) [@Baptiste\_Michaud](https://meta.discourse.org/u/Baptiste_Michaud)
#### Post date: [2016年七月11日 13:38 UTC](https://meta.discourse.org/t/use-colon-separator-in-redis-cache/47092/2 "2016-07-11T13:38:49Z")

</div>

Hum, after further inspections: Nevermind, it’s mostly the case.

Except maybe:  
`__mb_backlog_id_n_/notification-alert/XXXX$|$default`
