Alternative PHP Cache, or APC, is a module for Apache web servers that is employed to cache the output code of script applications. It is very effective for scripts with large source code and will speed up such a website as much as 3 times. PHP websites are dynamic and whenever a user accesses a page, the script hooks up to a database in order to retrieve some content, and then the code is parsed and compiled prior to it being shown to the guest. In case the output code does not change however, which is the case with websites which show the very same content all the time, such actions trigger excessive reading and writing. What APC does is that it caches the already compiled program code and delivers it whenever visitors browse an Internet site, so the database does not have to be accessed and the code does not have to be parsed and compiled repeatedly, which consequently decreases the Internet site loading time. The module can be extremely helpful for informational websites, blogs, portfolios, etc.
APC (PHP Opcode Cache) in Cloud Hosting
You can use APC with each cloud hosting package that we provide because it is already installed on our advanced cloud platform and activating it will take you only a couple of clicks inside your Hepsia Control Panel. Since our system is quite flexible, you can run sites with various requirements and decide whether they will use APC or not. For example, you can enable APC only for one release of PHP or you can do this for several of the versions that run on our platform. You can also select if all websites working with a certain PHP version will use APC or if the latter will be active only for selected Internet sites and not for all Internet sites in the website hosting account. The aforementioned option is useful if you would like to employ a different web accelerator for several of your Internet sites. These customizations are carried out with ease via a php.ini file in selected domain or subdomain folders.