Alternative PHP Cache, or APC, is a module for Apache servers which is used to cache the output code of script apps. It is very efficient for scripts with large source code and could accelerate such a site up to three times. PHP sites are dynamic and each time a website visitor accesses some web page, the script links to a database in order to retrieve some content, and then the code is parsed and compiled before it's displayed to the guest. In case the output code doesn't change however, that is the case with websites that display the very same content all the time, these actions trigger excessive reading and writing. What APC does is that it caches the previously compiled code and delivers it whenever visitors browse a website, so the database does not have to be accessed and the code does not have to be parsed and compiled continuously, which in turn decreases the site loading time. The module could be very effective for informational sites, blogs, portfolios, and many others.

APC (PHP Opcode Cache) in Website Hosting

You'll be able to use APC for your web applications with any of the website hosting plans that we offer since it is pre-installed on our cloud web hosting platform. Turning it on will take just a click inside the Hepsia Control Panel which is provided with our shared solutions and several minutes later it will start caching the code of your applications. Our platform is really flexible, so you'll be able to use several configurations depending on the system requirements of your scripts. For instance, you could activate APC for several releases of PHP for the whole account and pick the version that each site can use, or you can have the very same version of PHP, but activate or deactivate APC only for specific Internet sites. This is done by putting a php.ini file with a line of code inside the domain or subdomain folder where you require the customized setup.