Alternative PHP Cache, or APC, is a module for Apache web servers that is used to cache the output code of script apps. It is very effective for scripts with large source code and could speed up such a site as much as 3 times. PHP websites are dynamic and each time a website visitor opens some webpage, the script connects to a database in order to retrieve some content, then the code is parsed and compiled prior to it being shown to the site visitor. In case the output code doesn't change however, that is the case with sites which show the exact same content at all times, such actions trigger needless reading and writing. What APC does is that it caches the previously compiled code and delivers it any time visitors browse a website, so the database doesn't have to be accessed and the code does not need to be parsed and compiled continuously, which consequently decreases the website loading time. The module could be pretty useful for informational websites, blogs, portfolios, etcetera.

APC (PHP Opcode Cache) in Hosting

You can use APC with each and every hosting plan that we offer since it's already present on our advanced cloud platform and enabling it will take you only a couple of clicks in your Hepsia Control Panel. As our system is quite flexible, you'll be able to run Internet sites with various requirements and decide whether they will use APC or not. For instance, you could enable APC only for a single release of PHP or you could do this for several of the versions that run on our platform. In addition, you can select if all Internet sites working with a certain PHP version will use APC or whether the latter will be enabled only for selected Internet sites and not for all websites in the website hosting account. The aforementioned option is useful if you'd like to employ a different web accelerator for some of your Internet 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 Servers

You can use APC for every script application that runs on your new semi-dedicated server as the module is pre-installed on the cloud hosting platform where the account will be generated. Activating or deactivating APC for the account takes one click from the Hepsia Control Panel, but if needed, you could use the module just for particular websites. This is possible because of the flexibility of our cloud platform - different releases of PHP run on it simultaneously, so with a php.ini file placed in a website folder, you can choose what version will be used for this specific site and whether APC should be enabled or disabled. Employing such a file permits you to use settings that are different from the standard ones for your account, so you could take full advantage of APC for some scripts where the module makes a difference and not for others where you may take advantage of a different kind of web accelerator.