# The Craft cache Tag In-Depth

DevFeed: [The Craft cache Tag In-Depth](<https://devfeed.tech/articles/the-craft-cache-tag-in-depth-31307.md>)

Original publisher: [Read original article](<https://nystudio107.com/blog/the-craft-cache-tag-in-depth>)

Author: andrew@nystudio107.com (Andrew Welch)

Published: 2016-11-30T09:47:00Z

Content type: tutorial

Language: en

Sources: [nystudio107 | Articles on modern web development.](<https://devfeed.tech/sources/nystudio107-articles-on-modern-web-development.md>)

Topics: [Caching](<https://devfeed.tech/topics/caching.md>), [Content Management System](<https://devfeed.tech/topics/cms.md>), [Code](<https://devfeed.tech/topics/code.md>)

Tags: [cache](<https://devfeed.tech/tags/cache.md>), [caching](<https://devfeed.tech/tags/caching.md>), [cms](<https://devfeed.tech/tags/cms.md>), [code](<https://devfeed.tech/tags/code.md>), [craft](<https://devfeed.tech/tags/craft.md>), [effectively](<https://devfeed.tech/tags/effectively.md>), [help](<https://devfeed.tech/tags/help.md>), [here-s](<https://devfeed.tech/tags/here-s.md>), [insights](<https://devfeed.tech/tags/insights.md>), [performance](<https://devfeed.tech/tags/performance.md>), [used](<https://devfeed.tech/tags/used.md>), [works](<https://devfeed.tech/tags/works.md>)

## AI overview

This article explains how Craft CMS's {% cache %} tag works and how caching can improve performance when used correctly. It cautions that caching should not conceal inefficient templates, excessive database queries, or hosting and server problems, and notes possible stale-content and background-task effects.

## Source excerpt

Craft CMS has a {% cache %} tag that can help with performance, if used effectively. Here's how it works.