Alternative PHP Cache, or APC, is a module for Apache web servers that is employed to cache the output code of script applications. It is very effective for scripts with large source code and could speed up such a website as much as 3 times. PHP sites are dynamic and any time a visitor accesses a page, the script links to a database in order to retrieve some content, then the code is parsed and compiled before it is shown to the visitor. If the output code does not change however, which is the case with websites that show the very same content at all times, these actions trigger needless reading and writing. What APC does is that it caches the already compiled code and delivers it every time visitors browse a site, so the database doesn't have to be accessed and the code doesn't have to be parsed and compiled again and again, that in turn minimizes the site loading time. The module could be rather efficient for informational sites, blogs, portfolios, and so on.
APC (PHP Opcode Cache) in Shared Web Hosting
You can use APC with every single shared web hosting package that we offer because it is already set up on our advanced cloud platform and enabling it will take you only a couple of clicks inside your Hepsia Control Panel. Since our system is rather flexible, you can run Internet sites with various system requirements and decide if they will work with APC or not. For instance, you can enable APC only for a single release of PHP or you could do the latter for several of the releases running on the platform. It's also possible to select if all Internet sites working with a certain PHP version will use APC or if the latter will be active only for selected sites and not for all Internet sites in the web hosting account. The last option is useful if you would like to employ a different web accelerator for several of your sites. These customizations are performed without difficulty by using a php.ini file in selected domain or subdomain folders.