Alternative PHP Cache, or APC, is a module for Apache servers that is employed to cache the output code of script applications. It is very useful for scripts with large source code and can speed up such a website up to 3 times. PHP websites are dynamic and whenever a visitor opens a page, the script links to a database to retrieve some content, after that the code is parsed and compiled prior to it being displayed to the site visitor. If the output code doesn't change however, that's the case with websites which show the same content all the time, such actions result in unnecessary reading and writing. What APC does is that it caches the previously compiled code and delivers it any time visitors browse a site, so the database does not have to be accessed and the program code does not need to be parsed and compiled again and again, that consequently minimizes the Internet site loading time. The module could be quite useful for informational sites, blogs, portfolios, etcetera.
APC (PHP Opcode Cache) in Shared Hosting
You can use APC with each and every shared hosting plan that we provide since it is already present on our advanced cloud platform and activating it will take you just a few clicks in your Hepsia Control Panel. Since our system is rather flexible, you can run Internet sites with different requirements and decide whether they will work with APC or not. For instance, you can enable APC only for a single release of PHP or you can do this for several of the releases running on our platform. You can also decide if all sites using a given PHP version will use APC or whether the latter will be enabled just for selected websites and not for all Internet sites in the web hosting account. The aforementioned option is useful if you want to employ a different web accelerator for several of your Internet sites. These customizations are performed with ease via a php.ini file in selected domain or subdomain folders.
APC (PHP Opcode Cache) in Semi-dedicated Servers
You can use APC for every single script application which is run on your new semi-dedicated server since the module is already installed on the cloud hosting platform where the account will be generated. Activating or deactivating APC for the account requires one click in the Hepsia Control Panel, but if necessary, you can use the module just for particular sites. This is possible as a result of the versatility of our cloud platform - different releases of PHP run on it at the same time, so with a php.ini file placed in a website folder, you can pick what release will be used for this particular website and whether APC has to be enabled or disabled. Employing such a file allows you to use settings which are different from the standard ones for the account, so you'll be able to take full advantage of APC for some scripts where the module will make a difference and not for others where you could use a different kind of web accelerator.