Alternative PHP Cache, or APC, is a module for Apache servers that is used to cache the output code of script apps. It is very efficient for scripts with large source code and could speed up such a website as much as 3 times. PHP sites are dynamic and every time a user accesses a webpage, the script connects to a database in order to retrieve some content, and then the code is parsed and compiled before it's displayed to the visitor. In case the output code does not change however, which is the case with sites which display the very same content all of the time, these actions result in excessive reading and writing. What APC does is that it caches the already compiled code and delivers it whenever visitors browse an Internet site, so the database doesn't need to be accessed and the program code doesn't have to be parsed and compiled continuously, that consequently minimizes the website loading time. The module could be extremely efficient for informational sites, blogs, portfolios, etcetera.
APC (PHP Opcode Cache) in Cloud Hosting
You can use APC with each and every cloud hosting
package that we offer as it's already installed on our advanced cloud platform and activating it will take you just a couple of clicks in your Hepsia Control Panel. As our platform is quite flexible, you will be able to run websites with different requirements and decide if they will use APC or not. For example, you can enable APC only for a single release of PHP or you could do this for several of the versions that run on the platform. It's also possible to select if all Internet sites using a certain PHP version will use APC or if the latter will be enabled just for selected Internet sites and not for all Internet sites in the web hosting account. The last option is useful if you'd like to employ a different web accelerator for some of your Internet sites. These customizations are carried out effortlessly by using a php.ini file in selected domain or subdomain folders.
APC (PHP Opcode Cache) in Semi-dedicated Hosting
You can use APC for each script application that is run on your new semi-dedicated hosting
since the module is pre-installed on the cloud hosting platform where the account will be made. Activating or deactivating APC for the whole account takes a click in the Hepsia Control Panel, but if necessary, you could use the module just for particular websites. This is possible due to the versatility of our cloud platform - multiple releases of PHP run on it at the same time, so with a php.ini file placed in a site folder, you'll be able to choose what version will be used for this particular website and whether APC has to be enabled or disabled. Using such a file allows you to use settings that are different from the ones for your account, so you will be able to take advantage of APC for many scripts where the module makes a difference and not for others where you could use another type of web accelerator.