APC, which means Alternative PHP Cache, is a framework used for caching the compiled source code of a script app, which could speed up a database-driven site several times. Every time a PHP webpage is opened, the script pulls the website content that should be displayed from a database, parses and compiles the program code, and the result is shown to the site visitor. While this is necessary for sites with routinely changing content, it's a total waste of processing time and system resources for a website which does not change, like an informational portal which displays identical content at all times. Once the pages for such an Internet site are compiled, APC caches them and delivers them every time a visitor opens them. As this saves the time to collect content from the database and to parse and compile the code, the site will load much quicker. APC is very efficient especially for scripts with larger source code.
APC (PHP Opcode Cache) in Cloud Hosting
APC is pre-installed on our outstanding cloud platform, which means that you can use it for your web applications regardless of the cloud hosting solution that you select when you sign up. The module can be activated from your Hepsia internet hosting Control Panel which is used to handle the shared accounts and just a couple of minutes later it'll boost your Internet sites as it'll start caching their program code. In case you want to run websites with various system requirements or use specific web accelerators for any of them, you will be able to customize the software environment by placing a php.ini file inside the preferred domain folder. In this way, you could enable or disable APC not just for a specific site without affecting the other Internet sites in the account, but also for a specific version of PHP because our platform is compatible with multiple versions simultaneously.
APC (PHP Opcode Cache) in Semi-dedicated Hosting
You can use APC for each script application which runs on your new semi-dedicated hosting as the module is pre-installed on the cloud hosting platform where the account will be created. Activating or deactivating APC for the whole account requires a click from the Hepsia Control Panel, but if necessary, you could use the module just for particular Internet sites. This is possible as a result of the flexibility 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 version will be used for this particular site and whether APC needs to be enabled or disabled. Employing such a file permits you to use settings that are different from the standard ones for the account, so you can take full advantage of APC for some scripts where the module makes a difference and not for others where you could take advantage of some other kind of web accelerator.