View Full Version : question about APC_STORE

03-05-2010, 06:48 PM
Okay I know how the Caching works and how to use it, what I have a question on is. If I have 2 domains on 1 server and I have both domains use

<? apc_store('main',1,3600); ?>

and if each one stores with same name but is different data, when I use apc_fetch, I just need to know if the apc_store is for everything on server or domain. Hope this is making sense. If you get what I mean.

or should I use different names such as 'main_domain1' and 'main_domain2' ?


03-05-2010, 08:15 PM
Best I know they are server specific, not domain specific.
Store unique prefix/suffix to you're cache keys to limit the amount of confliction.