Caching Types Available in Pressable

Category: FAQ | Last modified: August 28, 2020

WordPress is an amazing tool for publishing a website tied into a relational database. In order to make a WordPress website perform as fast as possible Pressable uses a number of cache types. Understanding how Pressable accelerates your website with caching will help you design better websites that perform the best for your users.

Caching

Every time a visitor lands on your WordPress website, WordPress has to fetch information from your MySQL database. If you have a lot of functionality and assets on your website, that’s a lot of information to fetch, so your load time increases.

At Pressable there are a few types of caching occurring: page caching (Batcache, advanced-cache.php, via Memcache), database query caching (WordPress Object Cache, extended by object-cache.php via Memcache), OPCache (PHP Code), and static asset caching (CDN).

Page and Query Caching

Both page caching and database query caching use WordPress’ Object Cache. Page and database query caching (for queries that use the WordPress Object Cache class) are always on at Pressable. However, you can exclude certain pages from Batcache.

Static Asset Caching (CDN)

Once you enable the CDN, your website’s assets load from a Content Delivery Network (CDN), which ensures faster download times and browser caching.  If you make an update to any of the static assets that our CDN caches, you will need to purge the CDN.

OPCache (PHP Code)

Since PHP version 5.5 OPCache has been available for storing a precompiled script bytecode in the memory. This reduces server load in subsequent calls for a PHP file by having it ready to go as soon as it is called.

An Automattic Invention A family of WordPress solutions.