Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Published by Scroll Versions from space WAPIMGMNT232 and version 24.0

With the Caching Resources policy it is possible to cache requests based on their URL path, HTTP method and HTTP status code. This allows reducing overall traffic to the backend API.

Multiexcerpt include
SpaceWithExcerptINTERNAL
MultiExcerptNameinfo_stateful_request_payload
PageWithExcerptINTERNAL:_api_excerpts

Configuration Options

Basic Configuration

OptionDescriptionAllowed ValuesDefault
TTL
(Cache API responses for x seconds)
Specify a duration in seconds for how long the resources are cached (time-to-live).any integer-
Path

Enter a regular expression that will be used to identify the REST resource to cache. This applies to the resource path from the API endpoint on.

Multiexcerpt include
SpaceWithExcerptINTERNAL
MultiExcerptNameinfo_java_syntax
PageWithExcerptINTERNAL:_api_excerpts

a valid regular expression-
Method

Specify a HTTP method to apply the path pattern to.

Multiexcerpt include
SpaceWithExcerptINTERNAL
MultiExcerptNameinfo_stateful_request_payload
PageWithExcerptINTERNAL:_api_excerpts


*Cache all allowed methods (see below).*
GET

Cache GET requests only.

POSTCache POST requests only.
HEADCache HEAD requests only.
Status Code

Specify a status code that will be used to identify the REST resource to cache.

a three-digit integer-

Multiexcerpt include
SpaceWithExcerptINTERNAL
MultiExcerptNamepolicies_table_handling
PageWithExcerptINTERNAL:_api_excerpts

Panel
titleOn this Page:

Table of Contents

Panel
titleRelated Pages:

Otp
Floatingfalse

rp