Caching query responses

The responses returned from queries (URL requests that contain a question mark) can be cached by using caching filters. This feature can be useful in reverse proxy (surrogate) scenarios if many clients make the same query request.

Query caching can be configured by editing the CacheQueries directive in the ibmproxy.conf configuration file. The CacheQueries directive has the following options:

Additional information about these options is available in CacheQueries -- Specify cache responses to URLs containing a question mark (?).

To configure query response caching in the Configuration and Administration forms, use the Cache Configuration -> Cache Behavior: Cache Query Response filtering by URL field. To specify two lists, create one list and then click Submit before creating the other list.

Additional requirements for query response caching

In addition to configuring the query caching setting, ensure that the following settings are configured properly to enable query responses to be cached. Refer to Configuring cache freshness for information about setting these options by using the Configuration and Administration forms.