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 website several times. When a PHP page is accessed, the script pulls the website content which has to be displayed from a database, parses and compiles the program code, and the result is shown to the visitor. While this is necessary for Internet sites with regularly changing content, it is a complete waste of processing time and resources for a site which does not change, for example an informational portal that shows the same content at all times. Once the web pages for such a website are compiled, APC caches them and delivers them whenever a visitor loads them. As this saves the time to obtain content from the database and to parse and compile the program code, the site will load significantly quicker. APC is really useful in particular for scripts with massive source code.
APC (PHP Opcode Cache) in Cloud Hosting
APC is provided with every single cloud hosting package that we offer and you can enable it with just a click from your Hepsia Control Panel if you wish to use it for your web apps. A couple of minutes later the framework will be working and you will notice the considerably quicker loading speed of your database-driven Internet sites. As we offer different versions of PHP that can also be selected through Hepsia, you'll even be able to to use APC for scripts which require different versions of PHP within the same account. Our cutting-edge cloud Internet hosting platform is very flexible, so if you use a different web accelerator for any website and it interferes with APC, you'll be able to activate or deactivate the latter for a particular site only by using a php.ini file created in the domain or subdomain folder.