APC, which means Alternative PHP Cache, is a framework used for caching the compiled source code of a script application, which can boost a database-driven site several times. When a PHP webpage is accessed, the script pulls the website content which has to be displayed from a database, parses and compiles the program code, and then the result is displayed to the site visitor. While this is necessary for sites with frequently changing content, it is a total waste of processing time and system resources for an Internet site that doesn't change, such as an informational portal which displays the very same content on a regular basis. Once the webpages for such a site are compiled, APC caches them and delivers them any time a visitor opens them. Since this saves the time to get content from the database and to parse and compile the program code, the site will load much faster. APC is really useful in particular for scripts with large source code.
APC (PHP Opcode Cache) in Shared Hosting
APC is provided with each and every shared hosting solution that we offer and you can enable it with only a click through your Hepsia Control Panel if you would like to use it for your web applications. A couple of minutes later the framework will be active and you will notice the considerably faster loading speed of your database-driven sites. As we provide several releases of PHP that could also be selected from Hepsia, you'll even be able to to employ APC for scripts which require different versions of PHP inside the same account. Our leading-edge cloud hosting platform is extremely adaptable, so if you use a different web accelerator for any Internet site and it disturbs APC, you'll be able to activate or deactivate the latter for a particular site only by using a php.ini file generated in the domain or subdomain folder.