---
title: Directives
description: Directives are used to modify the behavior of your Next.js application.
url: "https://nextjs.org/docs/15/app/api-reference/directives"
version: 15.5.15
lastUpdated: 2025-06-16
prerequisites:
  - "API Reference: /docs/15/app/api-reference"
---


The following directives are available:

- [use cache](/docs/15/app/api-reference/directives/use-cache)
  - Learn how to use the use cache directive to cache data in your Next.js application.
- [use client](/docs/15/app/api-reference/directives/use-client)
  - Learn how to use the use client directive to render a component on the client.
- [use server](/docs/15/app/api-reference/directives/use-server)
  - Learn how to use the use server directive to execute code on the server.

---

For an index of all available documentation, see [/docs/15/llms.txt](/docs/15/llms.txt)