Ever wondered what’s going on behind the scenes of your website? Ever wanted to know how Pressable can make your website so fast? Here are some of the things we’ve implemented which make your WordPress website as zippy as it can be.
Let’s look at a few definitions:
- The modern word “cache” comes from French; it is a derivative of the French verb cacher, to hide.
- The French word itself derives from the Latin coācticāre which means “pack together, to press together, to store.”
These definitions give us a pretty good idea of what caching is in terms of the web – it’s the process of packing together and storing content for fast delivery. A web cache is the place where your content is stored.
Every time a visitor lands on your WordPress website, WordPress has to fetch information from your MySQL database. Your visitor is waiting at their computer for WordPress to do this. 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, database query caching and static asset caching. Both page caching and database query caching use WordPress’ Object Cache. This class of functions allows developers to manage caching of their sites. Page caching is handled by batcache, object caching is handled by memcached, while static asset caching is handled by the CDN.
Database query caching is always on at Pressable. Page and Static asset caching are enabled once you put your site into Production Mode in your Pressable Site Settings control panel.
When page and static asset caching is implemented, a static version of the website is stored and served up to visitors. This means that everything is ready to go. You can make changes to your content, and a new version will be stored when the next visitor lands on your website. In terms of performance, caching is one of the most important tools in your armory.
When your website is hosted by Pressable, we take care of caching for you. You don’t need any plugins or external services, you don’t need to know much about it, just that when your website is hosted on Pressable it’s fast.
Content Delivery Network (CDN)