APC, which stands for Alternative PHP Cache, is a framework used for caching the compiled source code of a script application, that could speed up a database-driven Internet site several times. Each time a PHP webpage is accessed, the script pulls the website content which needs to be shown from a database, parses and compiles the program code, then the result is displayed to the site visitor. While this is necessary for Internet sites with routinely changing content, it's a waste of processing time and system resources for a website which doesn't change, like an informational portal which shows identical content on a regular basis. As soon as the webpages for such a website are compiled, APC caches them and delivers them any time a visitor accesses them. Since this saves the time to get content from the database and to parse and compile the code, the Internet site will load significantly quicker. APC is really effective especially for scripts with massive source code.
APC (PHP Opcode Cache) in Cloud Hosting
You can use APC with each and every cloud hosting package that we provide since it is already set up on our advanced cloud platform and activating it will take you only a couple of clicks inside your Hepsia Control Panel. Since our platform is really flexible, you can run sites with different requirements and decide whether they will work with APC or not. For example, you could allow APC only for a single version of PHP or you can do the latter for several of the releases running on the platform. In addition, you can decide if all Internet sites using a given PHP version will use APC or if the latter will be enabled only for selected websites and not for all Internet sites in the web hosting account. The aforementioned option is useful if you want to employ a different web accelerator for some of your sites. These customizations are performed without difficulty via a php.ini file in selected domain or subdomain folders.