Alternative PHP Cache, or APC, is a module for Apache web servers that is used to cache the output code of script applications. It is very efficient for scripts with large source code and could accelerate such a site up to 3 times. PHP websites are dynamic and each time a visitor opens some webpage, the script links to a database to get some content, then the code is parsed and compiled before it's displayed to the guest. In case the output code does not change however, which is the case with Internet sites that display the exact same content all the time, such actions trigger excessive reading and writing. What APC does is that it caches the already compiled program code and delivers it every time visitors browse an Internet site, so the database does not need to be accessed and the code does not have to be parsed and compiled continuously, which consequently decreases the Internet site loading time. The module could be quite efficient for informational Internet sites, blogs, portfolios, etcetera.
APC (PHP Opcode Cache) in Cloud Hosting
APC is available with each and every cloud hosting package that we offer and you could activate it with only a click from your Hepsia Control Panel if you want to use it for your web applications. A few minutes later the framework will be active and you will be able to take advantage of the faster loading speed of your database-driven sites. As we offer several releases of PHP which can also be selected through Hepsia, you will even be able to employ APC for scripts that need different versions of PHP in the very same account. Our advanced cloud Internet hosting platform is extremely flexible, so if you use a different web accelerator for any Internet site and it disturbs APC, you could activate or deactivate the aforementioned for a certain site only by using a php.ini file created in the domain or subdomain folder.