Home
/
SuperCacher Tutorial
/
Dynamic Cache Option Tutorial

Dynamic Cache Option Tutorial

Most sites with dynamic content hosted on SiteGround servers can benefit from the NGINX-powered Dynamic Caching system. It is enabled by default on our servers. This tutorial explains how the Dynamic Cache works, how to best use and flush it.

How does Dynamic Cache work?

Dynamic caching stores all the HTML output of your web application. For example, a WordPress-generated page consists of a dynamically generated HTML part that is cached by the Dynamic Cache and a number of static resources – JS, CSS, images, and other media.

Without caching, a hit on your page is served by the PHP service which processes all the WordPress, theme, and plugins code, makes a number of queries to the MySQL database server, and then produces the final output. Although our services are blazing fast, it requires time to get all the data and process it. The Dynamic Cache stores the final result of all this work and serves it to the next client directly. This greatly reduces the TTFB (Time to first byte) of your site and can reduce the loading time of your pages more than ten times!

For more information, you may refer to our dynamic cache technical details article.

How to enable the Dynamic Cache?

The Dynamic Cache is enabled by default on a server level.

WordPress websites usually take advantage of it out of the box. However, for more advanced management of the caching options of your WordPress website we highly recommend that you also install our SG Optimizer plugin. For a detailed list of management, options refer to our tutorial on how to manage SiteGround dynamic cache through SG Optimizer.

If your website is powered by another application you may need to additionally configure it, so the website is cached. You can read more about enabling Joomla dynamic cache and Drupal dynamic cache in our knowledge base.

How to manually flush the Dynamic Cache?

If you want to flush your Dynamic Caching manually, please log in to Site Tools and navigate to Speed > Caching > Dynamic Cache. On that page, you will locate the Flush Cache button in the right part of the screen.

Share This Article