3

So I can see plenty of information about what to do with Magento and APC for single storefronts but how about multi stores?

I have 1 local.xml files that has 3 storefronts on that are on 3 different domains. In my local.xml I have the following:

<cache>
   <backend>apc</backend>
   <prefix>sitename_</prefix>
</cache>

Is this correct or should there be different prefixes for the different storefronts? I'm inclined to say that way I have done is correct but could anyone else confirm either way?

1
  • do not use APC or ZendOpcache for magento, just keep it for php, in magento use Redis... – user2857 Jun 18 '15 at 22:15
1

Have a read of this, https://magento.stackexchange.com/a/48017/361

If you still wanted to use APC as a cache store, then you don't need to define it per store view. Like the DB credentials, they are set globally, once.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.