APC (PHP Opcode Cache)
Learn what the abbreviation ‘APC’ means, just what exactly APC can do PHP efficiency-wise and ways to enable it for your account.
Alternative PHP Cache, or APC, is a module for Apache servers that is used to cache the output code of script apps. It is very efficient for scripts with large source code and could speed up such a site as much as 3 times. PHP sites are dynamic and every time a visitor accesses a webpage, the script connects to a database to retrieve some content, and 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 sites which display identical content at all times, such actions result in unneeded reading and writing. What APC does is that it caches the previously compiled code and delivers it each time visitors browse a website, so the database doesn't have to be accessed and the program code doesn't need to be parsed and compiled repeatedly, that consequently decreases the site loading time. The module can be quite efficient for informational Internet sites, blogs, portfolios, etc.
APC (PHP Opcode Cache) in Website Hosting
APC is provided with each and every website hosting solution that we offer and you could activate it with only a click through your Hepsia Control Panel if you wish to use it for your web apps. A few minutes later the framework will be working and you'll experience the considerably quicker loading speed of your database-driven sites. As we offer different versions of PHP which could also be selected from Hepsia, you'll even be able to to employ APC for scripts that require different versions of PHP in the same account. Our leading-edge cloud hosting platform is extremely flexible, so if you use some other web accelerator for any website and it disrupts APC, you could activate or deactivate the latter for a certain site only by using a php.ini file created in the domain or subdomain folder.