APC, which is short for Alternative PHP Cache, is a framework used for caching the compiled source code of a given script app, that can boost a database-driven site several times. Each time a PHP web page is accessed, the script pulls the site content which needs to be loaded from a database, parses and compiles the code, and the result is shown to the visitor. While this is necessary for Internet sites with regularly changing content, it's a complete waste of processing time and resources for a site that does not change, such as an informational portal which displays identical content on a regular basis. Once the web pages for such a site are compiled, APC caches them and delivers them whenever a user accesses them. As this saves the time to request content from the database and to parse and compile the code, the site will load considerably quicker. APC is really effective in particular for scripts with large source code.
APC (PHP Opcode Cache) in Hosting
APC is provided with every single hosting package that we offer and you could enable it with just a click from your Hepsia Control Panel if you want to use it for your applications. A few minutes later the framework will be active and you'll notice the faster loading speed of your database-driven websites. Since we offer different releases of PHP which could also be selected through Hepsia, you will even be able to employ APC for scripts that require different versions of PHP in the same account. Our next generation cloud hosting platform is extremely flexible, so in case you use some other web accelerator for any Internet site and it interferes with APC, you'll be able to activate or deactivate the latter for a specific site only by using a php.ini file generated in the domain or subdomain folder.