Alternative PHP Cache, or APC, is a module for Apache web servers which is used to cache the output code of script apps. It is very effective for scripts with large source code and could speed up such a site as much as 3 times. PHP websites are dynamic and every time a visitor accesses some webpage, the script hooks up to a database in order to retrieve some content, then the code is parsed and compiled prior to it being displayed to the website visitor. In case the output code does not change however, which is the case with Internet sites that display the same content all the time, these actions trigger unnecessary reading and writing. What APC does is that it caches the previously compiled code and delivers it each time visitors browse an Internet site, so the database doesn't have to be accessed and the code does not need to be parsed and compiled repeatedly, that in turn reduces the site loading time. The module could be rather effective for informational websites, blogs, portfolios, etcetera.

APC (PHP Opcode Cache) in Shared Web Hosting

APC is provided with every single shared web hosting solution that we offer and you can enable it with only a click through your Hepsia Control Panel if you'd like to use it for your applications. A few minutes later the framework will be active and you will notice the considerably quicker loading speed of your database-driven Internet sites. As we offer several releases of PHP that could also be selected through Hepsia, you'll even be able to to employ APC for scripts which require different versions of PHP in the same account. Our next generation cloud web hosting platform is very flexible, so if you use another web accelerator for any website and it disrupts APC, you will be able to activate or deactivate the aforementioned for a selected site only by using a php.ini file created in the domain or subdomain folder.