Install a Cache Plugin
Caching a website can go a long way to improving the overall page load experience. How a cache works is that items that are frequently accessed sections are loaded onto fast-access memory. The example on the right is from W3 Total Cache however there are a multitude of alternatives available.
Page caching works to serve the dynamic content as static assets. In some instances this is definitely not advisable, especially if there is specified dynamic content per user. In this instance you’ll want to set nocache headers for certain instances. Page caches simply cache the response that a user receives from a page request.
Sometimes a cache plugin will split up both Database and Object caching. An object cache such as Redis or Memcached works to reduce the load on the main database by storing frequently accessed sections and database queries on fast-access memory such as RAM to keep loads low. This works to keep the up-to-date database running parallel with the sections that can be cached in an efficient manner.
A database cache (subset of Object Caching) is associated with a reduction in latency with query requests. Typically this isn’t done on shared hosting due to the database not being the bottleneck on the server.
Browser caching is a way in which browsers download pieces of information onto the viewer’s computer into hidden sections of the hard drive in order to speed up load times on repeat visits. Typically what is known as “static assets” or files that do not change frequently are what is downloaded. These assets have a shelf life as determined by the cache settings as to whether those are removed or kept for a year. Typically if updates are not being seen this cache is most likely the culprit and may need to be cleared manually and lifetimes readjusted.
The last and one of the most important things to cover when discussing caching is minification of code. Minifying works by reducing the number of times a piece of code is written and serves to try and condense down all lines of code to their simplest, and thus lightest form. This includes removing line breaks to further reduce size and load of the files.