Alternative PHP Cache, or APC, is a module for Apache servers which is employed to cache the output code of script applications. It is very efficient for scripts with large source code and can speed up such a site as much as 3 times. PHP websites are dynamic and any time a website visitor opens a page, the script hooks up to a database to retrieve some content, after that the code is parsed and compiled before it is displayed to the guest. If the output code doesn't change however, which is the case with Internet sites that display the exact 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 each time visitors browse an Internet site, so the database does not have to be accessed and the code doesn't need to be parsed and compiled continuously, that in turn minimizes the site loading time. The module could be rather helpful for informational Internet sites, blogs, portfolios, etcetera.
APC (PHP Opcode Cache) in Cloud Hosting
APC is pre-installed on our cutting-edge cloud platform, which means that you will be able to use it for your web applications whatever the cloud hosting package that you select when you sign up. The module can be enabled from your Hepsia hosting Control Panel which is used to handle the shared accounts and only several minutes later it'll boost your websites because it'll start caching their program code. In case you would like to run sites with different system requirements or take advantage of specific web accelerators for any of them, you will be able to customize the software environment by putting a php.ini file in the desired domain folder. In this way, you could enable or disable APC not only for a particular Internet site without affecting the remaining sites in the account, but also for a specific version of PHP as our platform is compatible with multiple versions at the same time.
APC (PHP Opcode Cache) in Semi-dedicated Hosting
You can use APC for every script application that runs on your new semi-dedicated hosting as the module is already installed on the cloud hosting platform where the account will be made. Activating or deactivating APC for the account takes a click inside the Hepsia Control Panel, but if needed, you can use the module just for certain sites. This is possible due to the versatility of our cloud platform - different versions of PHP run on it concurrently, so with a php.ini file placed in a website folder, you'll be able to select what version will be used for this specific website and whether APC should be enabled or disabled. Using such a file enables you to use settings which are different from the ones for your account, so you'll be able to take advantage of APC for some scripts where the module will make a difference and not for others where you can use some other kind of web accelerator.