Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

What is the best solution to store the cach files? One directory for all or explicit directorys for each running vhost? Is there any difference?

share|improve this question
up vote 0 down vote accepted

Unless you have huge amounts of vhosts, from the performance point of view it should not matter.

From the security point of view the separate directories might be a better option than a single directory, depending on your web server setup. If every vhost does use its own user-id (instead of running everything as Apache user), the separate directories are definitely a better option.

share|improve this answer

At the risk of being unhelpful, have you considered using APC, instead?

share|improve this answer
no ;) We eAcclerator is preinstalled – opHASnoNAME Jun 28 '10 at 16:48

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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