To set up caching on Drupal 8, follow these steps:
1. Go to your Drupal dashboard and click on “Configuration” in the top menu.
1. Click on “Performance” under the “Development” section.
1. You will see several caching options on this page, including caching for pages, blocks, and views. Enable the desired caching options by ticking the checkbox next to them.
1. Next, click on the “Cache max-age” drop-down and choose a length of time before the cache is cleared. The default is set to 1 day (86400 seconds).
1. Scroll down and click on “Save Configuration”.
That’s it! Your Drupal website should now be caching content to improve page load times and overall site performance.