APC, which means Alternative PHP Cache, is a framework used for caching the compiled source code of a given script application, which can speed up a database-driven website several times. Each time a PHP webpage is accessed, the script pulls the website content which has to be shown from a database, parses and compiles the code, then the result is displayed to the visitor. While this is necessary for Internet sites with constantly changing content, it is a waste of processing time and system resources for a site that does not change, such as an informational portal which shows the very same content on a regular basis. Once the web pages for such an Internet site are compiled, APC caches them and delivers them whenever a website visitor opens them. As this saves the time to collect content from the database and to parse and compile the program code, the website will load a lot quicker. APC is really helpful in particular for scripts with larger source code.
APC (PHP Opcode Cache) in Cloud Hosting
APC is pre-installed on our leading-edge cloud platform, which means that you'll be able to use it for your applications irrespective of the cloud hosting package that you choose when you register. The module can be activated from the Hepsia internet hosting Control Panel which is used to take care of the shared accounts and only a few minutes later it'll speed up your sites because it will start caching their code. If you would like to run sites with different system requirements or use specific web accelerators for some of them, you will be able to customize the software environment by putting a php.ini file inside the desired domain folder. In this way, you can enable or disable APC not only for a particular site without affecting the other websites in the account, but also for a certain version of PHP since our platform supports multiple versions at the same time.