Alternative PHP Cache, or APC, is a module for Apache servers that is used to cache the output code of script apps. It is very effective for scripts with large source code and can boost such a website as much as three times. PHP sites are dynamic and whenever a visitor opens a page, the script links to a database to retrieve some content, and then the code is parsed and compiled prior to it being shown to the visitor. In case the output code doesn't change however, that is the case with Internet sites which show identical content all the time, these actions result in excessive reading and writing. What APC does is that it caches the previously compiled program code and delivers it every time visitors browse a website, so the database does not need to be accessed and the code does not have to be parsed and compiled repeatedly, which consequently minimizes the site loading time. The module can be rather helpful for informational websites, blogs, portfolios, and so on.
APC (PHP Opcode Cache) in Hosting
APC is pre-installed on our next generation cloud platform, which means that you'll be able to use it for your web applications irrespective of the hosting plan that you choose when you sign up. The module can be activated from the Hepsia web hosting Control Panel which is used to control the shared accounts and only a couple of minutes later it will speed up your websites since it will start caching their program code. If you need to run sites with various system requirements or use different web accelerators for any of them, you will be able to customize the software environment by placing a php.ini file in the preferred domain folder. Thus, you can enable or disable APC not just for a particular Internet site without affecting the other websites in the account, but also for a particular version of PHP because our platform is compatible with multiple versions simultaneously.
APC (PHP Opcode Cache) in Semi-dedicated Servers
You’ll be able to use APC for every script application which is run on your new semi-dedicated server since the module is pre-installed on the cloud hosting platform where the account will be made. Activating or deactivating APC for the entire account takes one click from the Hepsia Control Panel, but if necessary, you could use the module only for specific websites. This is possible because of the flexibility of our cloud platform - different versions of PHP run on it concurrently, so with a php.ini file placed in a website folder, you'll be able to select what version will be used for this particular Internet site and whether APC needs to be enabled or disabled. Using such a file permits you to use settings that are different from the ones for the account, so you can take advantage of APC for a lot of scripts where the module makes a difference and not for others where you could use a different kind of web accelerator.