APC, which stands for Alternative PHP Cache, is a framework used for caching the compiled source code of a script application, which could boost a database-driven Internet site several times. Each time a PHP web page is accessed, the script pulls the content which has to be displayed from a database, parses and compiles the code, and then the result is displayed to the site visitor. While this is necessary for sites with frequently changing content, it is a complete waste of processing time and resources for a site which does not change, for instance an informational portal that displays the same content all the time. As soon as the web pages for such a site are compiled, APC caches them and delivers them any time a user opens them. As this saves the time to request content from the database and to parse and compile the program code, the website will load much quicker. APC is really useful especially for scripts with large source code.
APC (PHP Opcode Cache) in Cloud Web Hosting
You will be able to use APC for your web applications with all of the cloud web hosting packages that we provide since it is pre-installed on our cloud website hosting platform. Enabling it will take just a single click in the Hepsia Control Panel that comes with our shared plans and a few minutes later it will begin caching the program code of your applications. Our platform is very flexible, so you will be able to use several configurations in accordance with the system requirements of your scripts. For example, you will be able to activate APC for several releases of PHP for the entire account and specify the version that each website can use, or you can have the exact same version of PHP, but activate or deactivate APC only for specified sites. You can do this by putting a php.ini file with a line of program code within the domain or subdomain folder where you require the custom setup.