]> source.dussan.org Git - nextcloud-server.git/commit
Add version and path to cache prefix
authorLukas Reschke <lukas@owncloud.com>
Tue, 17 Mar 2015 10:56:00 +0000 (11:56 +0100)
committerLukas Reschke <lukas@owncloud.com>
Tue, 17 Mar 2015 11:39:49 +0000 (12:39 +0100)
commitc233f2c90b9a27aee715c7d3653763dd5e26d4c9
treeb88a8403bbb446a0c7025b5d79044a5c2e5d1245
parentd96b97043b2fa7ba4d676c1d7b44f4aa5e58c8ee
Add version and path to cache prefix

Prevents to have the cache reused by other instances on the server which have possible the same instance ID and also invalidates older cache entries after an upgrade which can cause unwanted side-effects.

Impact for deployment: The same cache will only get used if ownCloud is installed with the same version and under the same path. But this should be a basic requirement anyways.
lib/private/memcache/cache.php
lib/private/server.php