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 effective for scripts with large source code and can accelerate such a website as much as 3 times. PHP sites are dynamic and each time a website visitor opens a page, the script hooks up to a database in order to get some content, after that the code is parsed and compiled before it is displayed to the website visitor. In case the output code does not change however, that is the case with sites that show the very same content at all times, such actions trigger needless reading and writing. What APC does is that it caches the already compiled code and delivers it whenever visitors browse a website, so the database doesn't have to be accessed and the program code does not have to be parsed and compiled over and over again, which consequently decreases the site loading time. The module could be extremely useful for informational sites, blogs, portfolios, and so on.
APC (PHP Opcode Cache) in Cloud Web Hosting
APC is available with each cloud web hosting plan that we offer and you could activate it with only a click through your Hepsia Control Panel if you want to use it for your web apps. Several minutes later the framework will be working and you will notice the considerably faster loading speed of your database-driven websites. As we provide different releases of PHP which can also be selected from Hepsia, you'll even be able to to use APC for scripts which require different versions of PHP inside the very same account. Our cutting-edge cloud web hosting platform is very adaptable, so if you use an alternative web accelerator for any website and it disturbs APC, you'll be able to activate or deactivate the aforementioned for a selected site only by using a php.ini file generated in the domain or subdomain folder.
APC (PHP Opcode Cache) in Semi-dedicated Servers
You will be able to use APC for each and 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 created. Activating or deactivating APC for the entire account requires a click inside the Hepsia Control Panel, but if needed, you could use the module just for certain websites. This is possible because of the flexibility 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 Internet site and whether APC should be enabled or disabled. Employing such a file enables you to use settings that are different from the ones for the account, so you will 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 employ some other type of web accelerator.