Alternative PHP Cache, or APC, is a module for Apache web servers that is employed to cache the output code of script apps. It is very useful 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 user opens some web page, the script links to a database to get some content, and then the code is parsed and compiled before it's shown to the visitor. If the output code doesn't change however, that's the case with websites that show the exact same content at all times, these actions result in excessive 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 does not have to be accessed and the program code doesn't have to be parsed and compiled repeatedly, which consequently lowers the website loading time. The module can be quite useful for informational websites, blogs, portfolios, and so on.
APC (PHP Opcode Cache) in Website Hosting
APC is pre-installed on our advanced cloud platform, so you will be able to use it for your applications irrespective of the website hosting solution that you pick when you register. The module can be activated from the Hepsia web hosting Control Panel that is used to take care of the shared accounts and only a couple of minutes later it'll speed up your websites as it will start caching their program code. If you would like to run websites with various system requirements or take advantage of different web accelerators for any of them, you will be able to customize the software environment by placing a php.ini file in the preferred domain folder. Thus, you can enable or disable APC not just for a specific Internet site without affecting the remaining sites in the account, but also for a certain version of PHP because our platform supports multiple versions at the same time.
APC (PHP Opcode Cache) in Semi-dedicated Hosting
You’ll be able to use APC for each script application which runs on your new semi-dedicated hosting because the module is already installed on the cloud hosting platform where the account will be created. Activating or deactivating APC for the account requires one click from the Hepsia Control Panel, but if necessary, you could use the module just for certain websites. This is possible on account of the versatility of our cloud platform - different releases of PHP run on it concurrently, so with a php.ini file placed in a website folder, you will be able to pick what release will be used for this particular website and whether APC needs to be enabled or disabled. Employing such a file permits you to use settings which are different from the ones for the account, so you could take advantage of APC for some scripts where the module can make a difference and not for others where you may employ another type of web accelerator.