I have been developing a Joomla VirtueMart site on a mac and now would like to port it over to my TKL Joomla application machine. Due to terrible ViruteMart performance, it has been suggested to me that I look at tuning it performance through the use of various caching techniques. The formula I have been suggested is as follows:
- Use APC php bytecode accelerator - from what I have seen on the TKL Joomla manifest php XCache is already installed - however if I would like to use APC which would be the best way to do this?
- Use the RAM disk to load the cache files - from what I notice there is an already existing /dev/shm direcotry which means we don't have to create the ram disk ourselves - correct?
- Generate the whole cache every 12 hours & add the script that does this as a cron job
- Saving your sessions to shared memory (utilising the DB for this)
Just reference this is the website I am referencing:
Firstly I need to make sure I am porting my joomla-vm site to my TKL-Joomla app correctly. I tried just coping it as a sub-directory into /usr/share/ and then adding a Virtual Server in the Apache Webserver section in Webadmin however I am not 100% sure that this is the best way to do this.
I also notice that most of the directries in my TKL-Joomla app are all marked as belonging to the user root with usergroup root - is this correct practise even for /var/www? I would presume the joomla folder /usr/share/joomla15 would belong to the user apache user group?
If someone is also able to shed some light on how I would be able to then proceed to apply the tuning suggestions from the for mentioned site it would be greatly appreciated - I am primarily intereted in using APC rather than XCache.