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 useful for scripts with large source code and could accelerate such a site up to three times. PHP websites are dynamic and any time a user opens a page, the script hooks up to a database in order to retrieve some content, then the code is parsed and compiled before it's shown to the guest. In case the output code doesn't change however, which is the case with Internet sites which show the very same content all the time, such actions result in unneeded reading and writing. What APC does is that it caches the already compiled program code and delivers it whenever visitors browse an Internet site, so the database doesn't have to be accessed and the code doesn't need to be parsed and compiled repeatedly, which consequently minimizes the website loading time. The module could be really helpful for informational sites, blogs, portfolios, etc.

APC (PHP Opcode Cache) in Hosting

You can employ APC for your web apps with all of the hosting packages that we provide because it is pre-installed on our cloud web hosting platform. Activating it will take just a mouse click in the Hepsia Control Panel that is provided with our shared solutions and a couple of minutes later it'll begin caching the code of your apps. Our platform is very flexible, so you will be able to use several configurations depending on the system requirements of your scripts. For example, you can activate APC for several releases of PHP for the entire account and pick the version that each Internet site will use, or you could have the same version of PHP, but activate or deactivate APC only for specified sites. This is done by placing a php.ini file with a line of program code in the domain or subdomain folder where you require the custom setup.