APC (PHP Opcode Cache)
What does the abbreviation 'APC' signify? Why is the presence of APC within your account important as far as your PHP-based websites are concerned? How can you enable this feature?
APC, which is short for Alternative PHP Cache, is a framework used for caching the compiled source code of a script application, that can speed up a database-driven site several times. Every time a PHP web page is opened, the script pulls the website content that needs to be shown from a database, parses and compiles the code, and the result is shown to the visitor. While this is necessary for websites with frequently changing content, it's a waste of processing time and system resources for a website which doesn't change, for instance an informational portal that displays the very same content at all times. As soon as the web pages for such an Internet site are compiled, APC caches them and delivers them any time a user accesses them. Since this saves the time to collect content from the database and to parse and compile the program code, the Internet site will load considerably faster. APC is really useful particularly for scripts with massive source code.
-
APC (PHP Opcode Cache) in Cloud Hosting
You can use APC with each
cloud hosting plan that we offer because it's already installed on our advanced cloud platform and activating it will take you just a couple of clicks inside your Hepsia Control Panel. Since our platform is really flexible, you will be able to run websites with different requirements and decide whether they will work with APC or not. For instance, you could allow APC only for one version of PHP or you could do this for several of the versions running on the platform. In addition, you can choose if all Internet sites using a specific PHP version will use APC or if the latter will be enabled only for selected Internet sites and not for all websites in the hosting account. The aforementioned option is useful if you wish to employ a different web accelerator for several of your sites. These customizations are done without difficulty through a php.ini file in selected domain or subdomain folders.