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.

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?

Thanks for your feedbackSmile-icon

More articles in "Advanced Topics"

On This Page

top-arrow