APC, or Alternative PHP Cache, is a PHP module that caches the output code of database-driven script applications. Dynamic PHP websites keep their content inside a database that is accessed whenever a visitor opens a webpage. The content which should be displayed is retrieved and the code is parsed and compiled before it is delivered to the website visitor. All of these actions need some processing time and involve reading and writing on the server for each and every page which is opened. While this cannot be avoided for websites with regularly changing content material, there are a lot of sites that present the same content on a lot of of their webpages all of the time - blogs, info portals, hotel and restaurant sites, etcetera. APC is really useful for this type of websites because it caches the already compiled code and displays it any time visitors browse the cached pages, so the code does not have to be parsed and compiled again. Not only will this reduce the server load, but it will also raise the speed of any website a few times.
APC (PHP Opcode Cache) in Cloud Web Hosting
You will be able to use APC for your web applications with any of the cloud web hosting plans that we provide since it's pre-installed on our cloud web hosting platform. Enabling it will take only a click inside the Hepsia Control Panel that comes with our shared solutions and a few minutes later it will start caching the code of your applications. Our platform is rather flexible, so you'll be able to use different configurations determined by the system requirements of your scripts. For example, you'll be able to activate APC for a couple of versions of PHP for the entire account and set the version that each site can use, or you could have the very same version of PHP, but enable or disable APC only for specific Internet sites. This is done by placing a php.ini file with a line of program code inside the domain or subdomain folder where you need the custom configuration.