Apc Cache Prefix Exist?

i have different domain which call same script eg:

x.com

y.com

call index.php

how can i take advantage of Cache and differ them according to domain names $_SERVER[‘HOST_NAME’]?

Post::model()->cache(3000)->findAll();

if i use top query it will call for all domains but i need something like prefix to prepend to Key

You can set a cache key prefix in your config. Setting that to [font=“Courier New”]$_SERVER[‘HOST_NAME’][/font] should take care of your issue.