PLA-844 refactor generating of memcache key