Alternative PHP Cache, or APC, is a module for Apache web servers which is employed to cache the output code of script applications. It is very efficient for scripts with large source code and could accelerate such a site as much as three times. PHP sites are dynamic and each time a user opens a page, the script links to a database in order to retrieve some content, and then the code is parsed and compiled before it's shown to the guest. In case the output code does not change however, which is the case with sites that show the very same content at all times, these actions trigger excessive reading and writing. What APC does is that it caches the already compiled program code and delivers it every time visitors browse a site, so the database doesn't have to be accessed and the code doesn't need to be parsed and compiled over and over again, that in turn decreases the site loading time. The module could be quite efficient for informational Internet sites, blogs, portfolios, etcetera.
APC (PHP Opcode Cache) in Website Hosting
APC is available with every single website hosting package that we offer and you could activate it with only a click through your Hepsia Control Panel if you'd like to use it for your web apps. A couple of minutes later the framework will be working and you will be able to take advantage of the considerably faster loading speed of your database-driven websites. As we offer several releases of PHP that could also be selected through Hepsia, you'll even be able to to use APC for scripts which need different versions of PHP inside the same account. Our state-of-the-art cloud web hosting platform is extremely flexible, so in case you use a different web accelerator for any Internet site and it interferes with APC, you will be able to activate or deactivate the latter for a particular site only by using a php.ini file created in the domain or subdomain folder.
APC (PHP Opcode Cache) in Semi-dedicated Hosting
You’ll be able to use APC for each and every script application which runs on your new semi-dedicated hosting since the module is pre-installed on the cloud hosting platform where the account will be generated. Activating or deactivating APC for the entire account requires one click in the Hepsia Control Panel, but if necessary, you can use the module just for particular Internet sites. This is possible because of the flexibility of our cloud platform - several versions of PHP run on it concurrently, so with a php.ini file placed in a site folder, you'll be able to choose what version will be used for this particular website and whether APC has to be enabled or disabled. Employing such a file permits you to use settings which are different from the standard ones for your account, so you will be able to take advantage of APC for a lot of scripts where the module will make a difference and not for others where you may take advantage of some other type of web accelerator.