Alternative PHP Cache, or APC, is a module for Apache web servers which is employed to cache the output code of script apps. It is very effective for scripts with large source code and will speed up such a website as much as 3 times. PHP sites are dynamic and whenever a user opens a web page, the script links to a database to retrieve some content, then the code is parsed and compiled before it's displayed to the website visitor. In case the output code does not change however, which is the case with Internet sites which show the same content all of 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 doesn't have to be accessed and the code does not have to be parsed and compiled continuously, which consequently decreases the website loading time. The module can be really effective for informational websites, blogs, portfolios, etc.
APC (PHP Opcode Cache) in Shared Hosting
You can use APC with each and every shared hosting
plan that we offer because it is already present on our advanced cloud platform and enabling it will take you only a couple of clicks in your Hepsia Control Panel. Since our system is quite flexible, you can run websites with various system requirements and decide whether they will use APC or not. For example, you can enable APC only for one release of PHP or you could do this for several of the versions that run on our platform. You may also select if all sites working with a certain 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 last option is useful if you wish to employ a different web accelerator for some of your Internet sites. These customizations are done without any difficulty by using 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 each and every script application that runs on your new semi-dedicated server
as 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 a single click from the Hepsia Control Panel, but if needed, you can use the module only for specific sites. This is possible as a result of the versatility of our cloud platform - different versions of PHP run on it concurrently, so with a php.ini file placed in a site folder, you can select what release will be used for this specific Internet site and whether APC should be enabled or disabled. Employing such a file permits you to use settings that are different from the standard ones for your account, so you could take full advantage of APC for some scripts where the module can make a difference and not for others where you may use a different kind of web accelerator.