Alternative PHP Cache, or APC, is a module for Apache web servers which is used to cache the output code of script apps. It is very efficient for scripts with large source code and could boost such a site up to three times. PHP sites are dynamic and whenever a visitor accesses some page, the script links to a database to get some content, and then the code is parsed and compiled before it's displayed to the site visitor. In case the output code doesn't change however, that is the case with websites that display the very same content at all times, these actions result in unneeded reading and writing. What APC does is that it caches the previously compiled code and delivers it every time visitors browse a site, so the database doesn't have to be accessed and the program code does not have to be parsed and compiled continuously, which in turn minimizes the site loading time. The module could be pretty effective for informational websites, blogs, portfolios, etcetera.
APC (PHP Opcode Cache) in Hosting
You can use APC with every single hosting
plan that we provide as it is already present on our advanced cloud platform and enabling it will take you just a couple of clicks inside your Hepsia Control Panel. As our system is rather flexible, you'll be able to run Internet sites with various requirements and decide whether they will work with APC or not. For instance, you could allow APC only for a single release of PHP or you could do this for several of the versions that run on the platform. You may also choose if all websites working with a given PHP version will use APC or whether the latter will be enabled only for selected sites and not for all Internet sites in the hosting account. The last option is useful when you would like to employ a different web accelerator for several of your websites. These customizations are carried out with ease through a php.ini file in selected domain or subdomain folders.
APC (PHP Opcode Cache) in Semi-dedicated Servers
You will be able to use APC for every script application that is run on your new semi-dedicated server as the module is already installed on the cloud hosting platform where the account will be generated. Activating or deactivating APC for the account takes one click from the Hepsia Control Panel, but if necessary, you can use the module only for specific websites. This is possible on account of the versatility of our cloud platform - several releases of PHP run on it simultaneously, so with a php.ini file placed in a site folder, you can choose what release will be used for this particular website and whether APC needs to be enabled or disabled. Using such a file permits you to use settings which are different from the ones for the account, so you will be able to take advantage of APC for many scripts where the module will make a difference and not for others where you may use some other kind of web accelerator.