APC, which is short for Alternative PHP Cache, is a framework used for caching the compiled source code of a script application, that can boost a database-driven Internet site several times. Each time a PHP web page is accessed, the script pulls the site content which should be displayed from a database, parses and compiles the code, and the result is displayed to the site visitor. While this is necessary for websites with constantly changing content, it is a complete waste of processing time and system resources for a site which does not change, for instance an informational portal which displays identical content all the time. Once the pages for such a website are compiled, APC caches them and delivers them whenever a website visitor accesses them. Since this saves the time to collect content from the database and to parse and compile the program code, the site will load a lot quicker. APC is really helpful in particular for scripts with large source code.
APC (PHP Opcode Cache) in Web Hosting
You can use APC with each web hosting package that we provide as it is already set up on our advanced cloud platform and activating it will take you just a few clicks inside your Hepsia Control Panel. As our platform is quite flexible, you will be able to run sites with different system requirements and decide whether they will use APC or not. For instance, you can allow APC only for one release of PHP or you can do the latter for several of the versions running on the platform. It's also possible to select if all websites using a given PHP version will use APC or if the latter will be enabled just for selected Internet sites and not for all Internet sites in the hosting account. The last option is useful when you intend to employ a different web accelerator for some of your sites. These customizations are performed with ease through a php.ini file in selected domain or subdomain folders.