Closed (duplicate)
Project:
Cache Backport (D7 to D6)
Version:
6.x-1.0-alpha3
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
6 Feb 2011 at 14:47 UTC
Updated:
1 Mar 2011 at 20:42 UTC
Is a prefix needed for multsites? Also, how would that affect updating sites, for modules, and for core updates? Thank you!
Comments
Comment #1
pounardYes, prefixing is needed for some backends in case of multisite.
Using the database backend, prefixing will be done by the db_* function themselves.
If you are using other backends, so they should be configurable using their own formalism. Memcache bins can be prefixed, see the http://drupal.org/project/memcache documentation.
For modules and core update, shouldn't change anything. Drupal 6 API is stable as long as the cache backport keeps the same API updates will be graceful. Just update this module like any other module.
Backends can be updated themselves downloading more recent packages, therefore new code update could attempt to use Drupal 7 only functions, which means that if you don't stick to tested versions, you could experience some WSOD (commenting the cache.inc replacement line in the settings.php file would be enough to revert to Drupal 6 cache backend and leave you then some time to revert modules versions that cause the errors).
If you do so, please report bugs :)
Comment #2
threading_signals commentedThe domain module requests that prefixing is handled by itself, so I couldn't figure out how to prefix for d7 api syntax compatibility. How to do so now, like when using cacherouter? Thank you!
Comment #3
threading_signals commentedErased. Double posted by android browser.
Comment #4
pounardHum what do they mean by "handled by itself" ? There is a point where you have to configure it somewhere (for memcache for example) at least in the settings.php file.
Comment #5
threading_signals commentedPosting my thoughts on this here: http://drupal.org/node/1052788