---
title: Add Cache-Control Headers
description: When true, enables the use of Cache-Control headers to prevent proxies from caching resources accessed by unauthenticated users.
component: web-agents
version: 2025.11
page_id: web-agents:properties-reference:com.forgerock.agents.cache_control_header.enable
canonical_url: https://docs.pingidentity.com/web-agents/2025.11/properties-reference/com.forgerock.agents.cache_control_header.enable.html
---

# Add Cache-Control Headers

When `true`, enables the use of Cache-Control headers to prevent proxies from caching resources accessed by unauthenticated users.

Default: `false`

|                    |                                                                                  |
| ------------------ | -------------------------------------------------------------------------------- |
| Property name      | `com.forgerock.agents.cache_control_header.enable`   Introduced in Web Agent 4.x |
| Function           | Headers                                                                          |
| Type               | Boolean: `true` returns true; all other strings return `false`.                  |
| Bootstrap property | No                                                                               |
| Required property  | No                                                                               |
| Restart required   | No                                                                               |
| AM console         | Tab: `Miscellaneous`Title: `Add Cache-Control Headers`                           |
