[BUGFIX] Memcached backend identifierPrefix only based on PATH_site 30/36430/3
authorArjen Hoekema <arjenhoekema@gmail.com>
Fri, 30 Jan 2015 14:15:20 +0000 (15:15 +0100)
committerChristian Kuhn <lolli@schwarzbu.ch>
Fri, 6 Feb 2015 19:14:34 +0000 (20:14 +0100)
commit79eced363a87104fc8d50ee6dbe602031cd5f2d5
tree4f3e7f435159018aeba2e3723feca334ff6e5912
parent55b2f0ab42cae512a1267bf208ff2c20e2204ccd
[BUGFIX] Memcached backend identifierPrefix only based on PATH_site

Change the 'identifierPrefix' in the MemcachedBackend so it is
caculated based on:
* PATH_site
* Context (production/developement)
* Cache identifier (cache_pages, cache_hash)

This avoids cache collisions when using a single Memcached backend
for multiple caching configurations when using the same
'entryIdentifier' in set()

Resolves: #64588
Releases: master, 6.2
Change-Id: Ib1702caa06dc29937cdc4bf574a0f05d89a8d10c
Reviewed-on: http://review.typo3.org/36430
Reviewed-by: Helmut Hummel <helmut.hummel@typo3.org>
Tested-by: Helmut Hummel <helmut.hummel@typo3.org>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
typo3/sysext/core/Classes/Cache/Backend/MemcachedBackend.php