APC, or Alternative PHP Cache, is a PHP module which caches the output code of database-driven script apps. Dynamic PHP websites store their content in a database that is accessed whenever a visitor opens a page. The content that has to be displayed is retrieved and the code is parsed and compiled prior to it being delivered to the visitor. All of these actions need some processing time and require reading and writing on the web server for each page which is accessed. While this cannot be avoided for sites with regularly changing content, there're many sites that offer the exact same content on a lot of of their webpages at all times - blogs, info portals, hotel and restaurant Internet sites, etcetera. APC is very useful for this kind of sites as it caches the already compiled code and shows it any time visitors browse the cached webpages, so the code doesn't have to be parsed and compiled all over again. Not only will this decrease the server load, but it'll also increase the speed of any Internet site a few times.
APC (PHP Opcode Cache) in Cloud Hosting
APC is provided with each cloud hosting package that we offer and you could activate it with just a click through your Hepsia Control Panel if you'd like to use it for your applications. A couple of minutes later the framework will be active and you'll notice the quicker loading speed of your database-driven Internet sites. Since we offer different versions of PHP which could also be selected from Hepsia, you will even be able to employ APC for scripts that need different versions of PHP inside the same account. Our advanced cloud Internet hosting platform is very adaptable, so in case you use some other web accelerator for any Internet site and it disrupts APC, you could activate or deactivate the latter for a selected site only by using a php.ini file created in the domain or subdomain folder.