Why Cache API?
When it comes to simple, brochure-type Drupal websites, you can use other built-in caching mechanisms provided by Drupal. Like page caching, block caching and even caching of views and panels. There are also other caching modules that you can integrate with your Drupal website like Memcache, Boost, Varnish, etc. However, for more complicated websites that need constant updating of information and have a bigger user-base, Drupal 8’s Cache API works best. How can caching help you?
- Caching helps in reducing the page load time as it is rendered from a previously saved copy of the page.
- Continuous calls to the database can take up a lot of CPU/RAM resources. Caching can help freeing some resources.
- When your page loads faster and the performance is better, visitors are going to be more engaged.
- Greatly helps in SEO as the crawlers are impressed with your website speed.