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 effective for scripts with large source code and could speed up such an Internet site as much as 3 times. PHP sites are dynamic and each time a website visitor accesses some page, the script hooks up to a database in order to get some content, after that the code is parsed and compiled before it is shown to the visitor. If the output code does not change however, which is the case with websites which display the exact same content all of the time, such actions result in needless 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 continuously, that in turn reduces the Internet site loading time. The module could be really efficient for informational Internet sites, blogs, portfolios, and so on.
APC (PHP Opcode Cache) in Cloud Website Hosting
You can use APC with every single cloud website hosting plan that we offer because it is already installed on our advanced cloud platform and enabling it will take you only a few clicks inside your Hepsia Control Panel. Since our system is rather flexible, you can run websites with different system requirements and decide whether they will work with APC or not. For example, you could enable APC only for a single release of PHP or you can do this for several of the releases that run on the platform. You can also decide if all sites working with a specific PHP version will use APC or if the latter will be active only for selected websites and not for all Internet sites in the web hosting account. The aforementioned option is useful when you'd like to employ a different web accelerator for several of your sites. These customizations are performed without difficulty through a php.ini file in selected domain or subdomain folders.
APC (PHP Opcode Cache) in Semi-dedicated Hosting
You’ll be able to use APC for each and every script application that is run on your new semi-dedicated hosting as the module is already installed on the cloud hosting platform where the account will be generated. Activating or deactivating APC for the whole account requires one click from the Hepsia Control Panel, but if necessary, you can use the module only for particular Internet sites. This is possible as a result of the versatility of our cloud platform - several releases of PHP run on it simultaneously, so with a php.ini file placed in a site folder, you can choose what version will be used for this specific website and whether APC has to be enabled or disabled. Using such a file allows you to use settings which are different from the standard ones for your account, so you could take advantage of APC for a lot of scripts where the module can make a difference and not for others where you may use a different kind of web accelerator.