---
title: Fetch Policies From The Root Resource
description: When true, the agent caches the policy decision of the resource and all resources from the root of the resource down.
component: web-agents
version: 2024.11
page_id: web-agents:properties-reference:com.sun.identity.agents.config.fetch.from.root.resource
canonical_url: https://docs.pingidentity.com/web-agents/2024.11/properties-reference/com.sun.identity.agents.config.fetch.from.root.resource.html
---

# Fetch Policies From The Root Resource

When `true`, the agent caches the policy decision of the resource and all resources from the root of the resource down.

For example, if the resource is `http://host/a/b/c`, then the root of the resource is `http://host/`.

Use this property when a client is expected to access multiple resources on the same path. However, caching can be expensive if very many policies are defined for the root resource.

Default: `false`

|                    |                                                                                         |
| ------------------ | --------------------------------------------------------------------------------------- |
| Property name      | `com.sun.identity.agents.config.fetch.from.root.resource`   Introduced in Web Agent 4.x |
| Function           | Policy client service                                                                   |
| Type               | Boolean: `true` returns true; all other strings return `false`.                         |
| Bootstrap property | No                                                                                      |
| Required property  | No                                                                                      |
| Restart required   | No                                                                                      |
| AM console         | Tab: `AM Services`Title: `Fetch Policies From The Root Resource`                        |
