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 a site up to 3 times. PHP sites are dynamic and every time a user opens some web page, the script connects to a database in order to retrieve some content, after that the code is parsed and compiled before it's shown to the visitor. If the output code does not change however, that's the case with Internet sites that display the very same content at all times, these actions trigger excessive reading and writing. What APC does is that it caches the already compiled code and delivers it every time 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 continuously, which in turn lowers the Internet site loading time. The module can be very useful for informational sites, blogs, portfolios, and many others.
APC (PHP Opcode Cache) in Web Hosting
You can use APC with every single web hosting package that we offer because it is already set up on our advanced cloud platform and enabling it will take you just a few clicks in your Hepsia Control Panel. Since our platform is extremely flexible, you can run Internet sites with different requirements and decide if they will use APC or not. For example, you can enable APC only for a single version of PHP or you can do the latter for several of the versions that run on our platform. In addition, you can select if all websites working with a specific PHP version will use APC or whether the latter will be enabled just for selected websites and not for all Internet sites in the web hosting account. The last option is useful when you need to employ a different web accelerator for several of your Internet sites. These customizations are done effortlessly through a php.ini file in selected domain or subdomain folders.
APC (PHP Opcode Cache) in Semi-dedicated Hosting
You will be able to use APC for each and every script application which runs 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 inside the Hepsia Control Panel, but if needed, you could use the module just for particular websites. This is possible due to the versatility of our cloud platform - different releases of PHP run on it simultaneously, so with a php.ini file placed in a site folder, you'll be able to choose what version will be used for this specific Internet site and whether APC has to be enabled or disabled. Using such a file enables you to use settings that are different from the ones for the account, so you'll be able to take full advantage of APC for many scripts where the module will make a difference and not for others where you could take advantage of another kind of web accelerator.