Alternative PHP Cache, or APC, is a module for Apache web servers which is employed to cache the output code of script applications. It is very useful for scripts with large source code and could speed up such an Internet site up to three times. PHP sites are dynamic and each time a website visitor accesses a page, the script hooks up to a database to get some content, and then the code is parsed and compiled before it's shown to the visitor. In case the output code does not change however, which is the case with websites which show identical content at all times, such actions trigger excessive reading and writing. What APC does is that it caches the already compiled program code and delivers it any time visitors browse a website, so the database does not need to be accessed and the program code does not have to be parsed and compiled repeatedly, which consequently decreases the website loading time. The module can be rather effective for informational Internet sites, blogs, portfolios, and so on.
APC (PHP Opcode Cache) in Cloud Website Hosting
You can use APC with each and every cloud website hosting plan that we offer because it is already set up on our advanced cloud platform and enabling it will take you just a couple of clicks in your Hepsia Control Panel. Since our system is extremely flexible, you can run sites with different system requirements and decide if they will use APC or not. For instance, you can enable APC only for a single release of PHP or you can do the latter for several of the releases running on the platform. In addition, you can select if all websites using a specific PHP version will use APC or whether the latter will be active just for selected websites and not for all websites in the hosting account. The last option is useful if you need to employ a different web accelerator for several of your websites. These customizations are done effortlessly via a php.ini file in selected domain or subdomain folders.