[BUGFIX] Memcached backend identifierPrefix only based on PATH_site 21/36721/2
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:55 +0000 (20:14 +0100)
commitc3abb64796b46f2f2e222e8499f075230ec413fd
treea33706016ef4c26d5d98a7426d0f5718638ce7d9
parent6909145fc1b628cda09a6b36c443897e427feed6
[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/36721
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
typo3/sysext/core/Classes/Cache/Backend/MemcachedBackend.php