Caching with Blitz
Blitz is a powerful Craft CMS plugin that uses caching to improve page load times. It's used widely on Servd, and easy to setup.
Using the Craft Control Panel's Plugin Store, or composer on the command line, install the Blitz plugin.
Navigate to the Blitz plugin settings in your Craft Control Panel.
Under the Cache Storage tab, set the storage type to "Yii Cache Storage".
Create a new bundle and deploy your changes.
Craft Commands #
Blitz provides loads of useful Craft commands for manipulating the data currently cached by your project.
To avoid serving stale data, it's often a good idea to refresh the cache whenever you deploy changes to your project. You can do this by adding Blitz's blitz/cache/refresh command as a Post Deploy Task in the "Build & Deploy" Project Settings page.
If you'd like to manually run a Blitz command, navigate to your project, then to the environment you'd like to run it in (e.g. Production or Staging), then to the "Commands" page. From there, scroll to "Run a Craft CLI Command" and execute the command.