Loopia Boost – Code cache

The code cache (OPcache) in Loopia Boost caches your site’s compiled PHP code, which makes most page loads significantly faster.

How do I enable the code cache?

The code cache is enabled by default and should work without any changes to your site.

How long does the code cache remain?

The cache remains until the file is edited. A few seconds after a change, the updated file will be used and stored back in the cache if there is space available.

How is the code cache cleared?

Each site has a certain amount of memory on the web server for its code cache. When this memory is full, no additional files will be cached until the cache is cleared. Cleanup is performed automatically by the server from time to time, but can also be triggered manually with the PHP function opcache_reset().

How do I use the code cache with WordPress?

You do not need to do anything to use the code cache with WordPress. If you want to see statistics about the code cache and clear it manually, we recommend the WP OPcache plugin.

Was this article helpful?

Related Articles