Alternative PHP Cache, or APC, is a module for Apache web servers that is employed to cache the output code of script apps. It is very useful for scripts with large source code and could speed up such a site up to 3 times. PHP websites are dynamic and each time a website visitor accesses a page, the script links to a database in order to retrieve some content, after that the code is parsed and compiled before it is shown to the visitor. In case the output code doesn't change however, which is the case with websites which show the exact same content at all times, such actions trigger unneeded reading and writing. What APC does is that it caches the previously compiled code and delivers it every time visitors browse a site, so the database does not have to be accessed and the code doesn't have to be parsed and compiled again and again, that consequently reduces the site loading time. The module could be quite efficient for informational Internet sites, blogs, portfolios, and many others.

APC (PHP Opcode Cache) in Cloud Website Hosting

You can use APC for your web apps with any of the cloud website hosting plans that we provide because it is pre-installed on our cloud web hosting platform. Activating it will take just a click inside the Hepsia Control Panel that is provided with our shared plans and a couple of minutes later it will begin caching the code of your apps. Our platform is really flexible, so you'll be able to use different configurations in accordance with the system requirements of the scripts. For example, you'll be able to activate APC for several versions of PHP for the whole account and pick the version that each Internet site will use, or you can have the exact same version of PHP, but activate or deactivate APC only for specified websites. This is done by putting a php.ini file with a line of code inside the domain or subdomain folder where you need the custom setup.