Alternative PHP Cache, or APC, is a module for Apache servers that is used to cache the output code of script applications. It is very useful for scripts with large source code and could boost such an Internet site up to three times. PHP websites are dynamic and any time a user opens a webpage, the script connects to a database in order to retrieve some content, after that the code is parsed and compiled before it's displayed to the guest. In case the output code does not change however, which is the case with sites that show the very same content at all times, these actions trigger unnecessary reading and writing. What APC does is that it caches the already compiled program code and delivers it whenever visitors browse a website, so the database does not have to be accessed and the code does not need to be parsed and compiled over and over again, that consequently reduces the site loading time. The module can be pretty useful for informational websites, blogs, portfolios, and many others.
APC (PHP Opcode Cache) in Cloud Hosting
You can use APC with each cloud hosting plan that we offer as it is already set up on our advanced cloud platform and activating it will take you only a few clicks inside your Hepsia Control Panel. As our platform is rather flexible, you will be able to run sites with different system requirements and decide whether they will work with APC or not. For example, you could activate APC only for one release of PHP or you could do the latter for several of the releases running on our platform. You can also decide if all websites using a given PHP version will use APC or whether the latter will be active just for selected websites and not for all sites in the website hosting account. The aforementioned option is useful when you intend to employ a different web accelerator for several of your websites. These customizations are done without any difficulty through a php.ini file in selected domain or subdomain folders.