cs-icon.svg

Content Caching

Warning: contentstack-express framework has been deprecated. We will soon stop supporting this framework. Instead, we recommend using DataSync, which is faster and more flexible than the web framework.

Caching refers to the process of storing data in a cache (temporary storage area). When someone requests the data, it is fetched from the cache. 

Additional Resources: This article gives you an overview of caching specific to the contentstack-express framework. To learn about caching in general, these following guides might help:
Cache Management in Content Delivery Network (CDN)
Clear Cache and Cookies in Different Browsers
Cache Purging Scenarios

contentstack-express stores the entire content of the rendered page. The visitors are then served the cached version of the content, instead of rendering pages every time. This decreases the number of read requests sent to the database, as well as improves the overall performance of the website.

To enable content caching, you need to set cache to “true” in the config.

    Was this article helpful?
    ^