kalaspuff / redis-cache-zend-framework

🗄 Redis cache backend for Zend Framework with support for tags. Uses PHP module phpredis. [not actively maintained]
BSD 3-Clause "New" or "Revised" License
44 stars 30 forks source link

Why prepending 'item__' to keys #2

Open boosis opened 11 years ago

boosis commented 11 years ago

What is the reason for this?

ex-nerd commented 10 years ago

I assume it has something to do with keeping keys unique in order to support all of the prefixes (item, tag, and item_tags). That way, someone could create an item key called "tag1" and it would store as "itemtag1" so as not to conflict with the "tag" data for key "1".