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 within a database that is accessed whenever a visitor loads a page. The content which should be shown is retrieved and the code is parsed and compiled before it is delivered to the website visitor. These actions take some processing time and require reading and writing on the web server for each page that is accessed. While this cannot be avoided for sites with regularly changing content, there're a lot of sites that present the same content on many of their webpages constantly - blogs, info portals, hotel and restaurant websites, etc. APC is really useful for this kind of websites because it caches the already compiled code and shows it whenever visitors browse the cached pages, so the code does not have to be parsed and compiled again. Not only will this lower the server load, but it will also increase the speed of any website many times.
APC (PHP Opcode Cache) in Web Hosting
APC is available with each web hosting plan that we offer and you can activate it with just a click from your Hepsia Control Panel if you wish to use it for your web applications. A few minutes later the framework will be active and you'll experience the considerably quicker loading speed of your database-driven websites. As we offer different releases of PHP which can also be selected through Hepsia, you'll even be able to to use APC for scripts which need different versions of PHP in the same account. Our state-of-the-art cloud Internet hosting platform is very flexible, so if you use another web accelerator for any Internet site and it interferes with APC, you'll be able to activate or deactivate the latter for a certain site only by using a php.ini file created in the domain or subdomain folder.