APC, which is an acronym for Alternative PHP Cache, is a framework used for caching the compiled source code of a script application, which can speed up a database-driven website several times. Each time a PHP webpage is accessed, the script pulls the website content which has to be shown from a database, parses and compiles the program code, then the result is shown to the website visitor. While this is necessary for sites with regularly changing content, it's a total waste of processing time and resources for an Internet site that doesn't change, for instance an informational portal which displays the same content on a regular basis. As soon as the web pages for such an Internet site are compiled, APC caches them and delivers them every time a website visitor accesses them. Since this saves the time to obtain content from the database and to parse and compile the code, the Internet site will load a lot faster. APC is really useful in particular for scripts with massive source code.
APC (PHP Opcode Cache) in Hosting
APC is provided with each and every hosting package that we offer and you could enable it with just a click from your Hepsia Control Panel if you would like to use it for your web applications. Several minutes later the framework will be working and you'll notice the considerably quicker loading speed of your database-driven Internet sites. As we offer several versions of PHP that could also be selected through Hepsia, you'll even be able to to employ APC for scripts which need different versions of PHP within the very same account. Our next generation cloud web hosting platform is extremely adaptable, so in case you use an alternative web accelerator for any Internet site and it disrupts APC, you'll be able to activate or deactivate the latter for a specific site only by using a php.ini file created in the domain or subdomain folder.