APC, which means Alternative PHP Cache, is a framework used for caching the compiled source code of a given script application, which can boost a database-driven site several times. Every time a PHP page is accessed, the script pulls the website content which needs to be loaded from a database, parses and compiles the code, then the result is shown to the visitor. While this is necessary for sites with routinely changing content, it's a complete waste of processing time and resources for an Internet site that doesn't change, for example an informational portal which displays the very same content all the time. When the webpages for such a site are compiled, APC caches them and delivers them any time a user opens them. Since this saves the time to collect content from the database and to parse and compile the code, the Internet site will load considerably faster. APC is very efficient in particular for scripts with larger source code.
APC (PHP Opcode Cache) in Hosting
You can use APC with each hosting package that we offer since it is already installed on our advanced cloud platform and enabling it will take you just a few clicks in your Hepsia Control Panel. Since our platform is really flexible, you can run websites with different requirements and decide if they will use APC or not. For instance, you can activate APC only for a single release of PHP or you can do this for several of the releases that run on the platform. You may also select if all sites working with a certain PHP version will use APC or whether the latter will be enabled just for selected websites and not for all Internet sites in the web hosting account. The aforementioned option is useful if you wish to employ a different web accelerator for some of your Internet sites. These customizations are performed effortlessly through a php.ini file in selected domain or subdomain folders.