# Built-in caching

![](https://img.shields.io/badge/nosto-%3E%3D%205.0.0-green)

As of 5.0.0 Nosto module uses Magento's built-in caching mechanism to cache the product data needed for Nosto's product tagging. When enabled the product cache is automatically populated and used when generating the product tagging on product detail pages.

### Managing cache

You can manage (enable, disable & flush) Nosto product cache from Magento's cache management settings in the store admin like any other cache.

![Magento 2 cache management](/files/jo5m1Npqg4Dl9OD5ttsJ)

### Command line usage

#### Enabling caching

You enable the product caching by using Magento's console command for managing caches.

```bash
bin/magento cache:enable nosto_product_cache
```

#### Disabling caching

You disable the product caching by using Magento's console command for managing caches.

```bash
bin/magento cache:disable nosto_product_cache
```

#### Flushing the cache

Run the following command in order to flush the cache from command line

```bash
bin/magento cache:flush nosto_product_cache
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.nosto.com/magento-2/features/product-data-caching/built-in-caching.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
