Alternative PHP Cache, or APC, is a module for Apache servers that is used to cache the output code of script applications. It is very useful for scripts with large source code and can boost such an Internet site as much as three times. PHP websites are dynamic and each time a visitor accesses some page, the script connects to a database in order to retrieve some content, after that the code is parsed and compiled before it is shown to the guest. In case the output code doesn't change however, which is the case with sites that display the very same content at all times, such actions result in needless reading and writing. What APC does is that it caches the already compiled program code and delivers it any time visitors browse an Internet site, so the database does not have to be accessed and the program code does not need to be parsed and compiled continuously, which consequently reduces the site loading time. The module can be extremely useful for informational websites, blogs, portfolios, etcetera.
APC (PHP Opcode Cache) in Web Hosting
APC is provided with each web hosting package that we offer and you can enable it with just a click from your Hepsia Control Panel if you would like to use it for your applications. A few minutes later the framework will be working and you will experience the considerably faster loading speed of your database-driven Internet sites. As we provide different releases of PHP which can also be selected through Hepsia, you'll even be able to to use APC for scripts which require different versions of PHP inside the same account. Our cutting-edge cloud Internet hosting platform is very flexible, so in case you use an alternative web accelerator for any website and it disrupts APC, you'll be able to activate or deactivate the latter for a specific site only by using a php.ini file created in the domain or subdomain folder.