> ## Documentation Index
> Fetch the complete documentation index at: https://kb.hosting.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Using APC or OPcache with Joomla

> Adding caching to your Joomla site can vastly improve its performance. Follow our easy instructions to add OPcache or APC caching to Joomla.

This article discusses using APC or OPcache with Joomla.

<Note>
  APC and OPcache are supported on the following hosting packages:

  * Turbo Web Hosting

  * VPS (managed, unmanaged)

  * Dedicated server (managed and unmanaged)
</Note>

## About APC and OPcache

The Alternative PHP Cache (APC) and OPcache provide*opcode caching*. By caching the compiled operation codes (opcodes) of PHP scripts, APC and OPcache enable sites to serve page content significantly faster.

**APC** is a PHP extension that runs on PHP 5.4 and earlier versions. Because it is a separate extension, it may or may not already be installed on your server. For information about how to determine if APC is installed on your server, please see [this article](/docs/determining-if-apc-is-installed-on-a-server).

**OPcache** is a drop-in replacement for APC that runs on PHP 5.5 and later versions. OPcache is a core component built into PHP, so it does not require separate installation like APC does.

## Using APC or OPcache with Joomla

When APC or OPcache is installed on your server, no additional configuration is required on your part. APC and OPcache work at the web server level, so Joomla itself does not require any special configuration to take advantage of the performance benefits.

## More information

* For more information about OPcache, please visit [https://php.net/manual/en/book.opcache.php](https://php.net/manual/en/book.opcache.php).

## Related articles

* [Disabling OPcache on Turbo servers](/docs/disabling-opcache-on-turbo-web-hosting)

* [Determining if APC is installed on a server](/docs/determining-if-apc-is-installed-on-a-server)

* [Viewing PHP settings](/docs/view-php-settings)
