Pinging your buyer too much can cost your buyer money and damage your relationship with them. The ring tree target (RTT) Advanced Settings screen offers options for you to configure ping caching so you can reduce unnecessary pings to your buyers.
When ping caching is on for an RTT, Ringba saves the buyer's response to a ping for an amount of time you indicate. If the same caller triggers another ping to that RTT during that amount of time, Ringba reuses the saved response instead of pinging the buyer again.
This feature is available to admin users. It is available in the following Ringba subscription plans: Professional and Enterprise.
This article contains the following sections:
Caching Pings
When caching is on for an RTT, Ringba checks the cache of saved responses before pinging the buyer for a bid.
- If the cache contains a saved response from the buyer for the same caller, that's called a "cache hit." Ringba does not ping the buyer again. Instead, it reuses the saved response to evaluate it for bidding.
- If the cache does not contain a response from the buyer for the caller, that's called a "cache miss." If Ringba has not already pinged the buyer about this caller when a cache miss happens, it pings the buyer.
- If Ringba has already pinged the buyer but has not yet received a response when a cache miss happens, Ringba waits until the buyer response arrives or until the request times out.
Ping caching applies only to the first-step ping, the ping that asks the buyer for a bid. This applies regardless of whether the ping comes from a live call or from a Real Time Bidding (RTB) bid request. Both share the same saved responses, so an RTB bid and the live call that follows it ping the buyer only once.
Ringba never saves or reuses the second-step ping, the ping that confirms a call with the winning buyer. Those pings always go to the buyer.
How Ringba Identifies Duplicate Pings
You configure how Ringba defines a duplicate ping when you set up ping caching on the Advanced Settings screen. You choose one of the following options:
- Caller ID only: if a ping has the same caller ID as a cached ping, then it's a duplicate.
-
Caller ID + ZIP: If a ping has the same caller ID and ZIP Code value as a cached ping, then it's a duplicate. Ringba uses the first ZIP Code value it finds, checking these sources in order:
- a ZIP Code tag from the publisher (
zip,zipcode,zip_code, orzip-code) - the same tag names collected by a gather node
- the caller's geographic ZIP Code
- the ZIP Code from the caller's address
- a ZIP Code tag from the publisher (
-
Caller ID + ZIP + tags: If a ping has the same caller ID, ZIP Code, and publisher-supplied tags as a cached ping, then it's a duplicate. Ringba first removes any forbidden tags and, if you have set an allowed list, keeps only the allowed tags. This is the same filtering the RTB bid cache applies.
Note: The pings must have the same collection of tags in order to match. For example, if one ping includes 5 tags and the next ping includes only 4, even if those 4 match the values on the first ping, the ping is not a duplicate.
Which Ping Responses Ringba Caches
Ringba saves a response to the cache only in these cases:
- The buyer answers with a 2xx status and Ringba can read the response.
- The buyer answers with any 4xx status.
Ringba does not save 5xx responses, timeouts, or connection failures, so the next ping reaches the buyer.
Saved responses are shared across every campaign and publisher in your account. They are separate for each RTT, even when two RTTs point to the same buyer endpoint.
Cached Response Time-to-Live
When you configure caching, you indicate a Time to Live value that determines the number of seconds, 2 to 15, that pings remain in the cache.
Keep the following behavior in mind when you choose a time-to-live:
- A saved 4xx response stays in effect until it expires, even if the buyer would now accept the call.
- Ringba does not delete a saved response when a call connects, so a saved accept can answer a later ping for the same caller until the response expires.
- When you change how Ringba reads responses from an RTT, saved responses keep their old results until they expire.
- A saved response includes the dynamic number from the original ping, and Ringba reuses that number for the later call.
- If you set a strike price, a cached bid can end a predictive routing auction early, the same way a live bid does. See Strike Price for more information.
Cached Pings in Billing and Reports
Ringba treats a cached ping like a live ping for billing and reporting:
- Usage billing counts a cache hit as a ring tree fetch, the same as a live ping.
- Reports count a cache hit as a ping, under the buyer's original HTTP status and reason. This includes Outbound Ping HTTP Failures.
As a result, your ping counts and RTB usage charges include pings that the buyer did not actually receive. A failure the buyer returned once can also appear again for each cached ping.
Advanced Settings Screen
You configure ping caching on the Advanced Settings screen. You navigate to the Advanced Settings screen by clicking Ring Trees > Advanced Settings.
A table appears with a row for each RTT in your account, no matter which ring tree or campaign uses it. You can control which columns appear in the table by clicking the table icon to the left of the search. You can use the search field to search any value in the table.

The table contains the following columns:
- Name: The name of the RTT. Click the name to open the target's edit screen.
- Buyer: The buyer assigned to the RTT. This column is empty if no buyer is assigned.
- Destination: Where Ringba sends calls for the target: a number, a SIP address, or Dynamic.
- Live: The number of calls connected to this RTT at the moment you loaded the report.
- Hour: The number of calls that have connected to this RTT in the last hour, as of the time you loaded this report.
- Month: The number of calls that have connected to this RTT in the current month.
- Total: The total number of calls that have ever connected to this RTT.
- Caching: Indicates whether you have enabled caching for this RTT.
- Request URL: The URL Ringba sends the ping request to. This column is hidden by default, but you can enable it by clicking the table icon to the left of the Search bar.
- Actions: Click Caching to open the Caching drawer, where you turn ping caching on or off for the target and choose its settings.
How to Configure Ping Caching for a Ring Tree Target
Use the following steps to configure ping caching for a RTT:
- Navigate to Ring Trees > Advanced Settings.
- Find the RTT. You can use the search field to find it by name, buyer, or any other value in the table.
-
Click Caching in the Actions column for the target.
The Caching drawer opens.

- Toggle on the Cache Ping Responses switch.
-
Select an option from the Duplicate Ping Definition field to indicate how Ringba decides that two pings are for the same caller: You can choose any one of the following options:
- Caller ID only
- Caller ID + ZIP
- Caller ID + ZIP + tags. See Understanding How Ringba Identifies Repeat Callers for the differences.
- Enter a value in the Time to Live field to indicate the number of seconds Ringba keeps a saved response. You can enter any value from 2 to 15.
- Click Save.
To turn caching off, repeat steps 1 through 3, turn caching off, and save.
Caching settings belong to each RTT. When you make a duplicate of a RTT, the duplicate gets the same caching settings.
How to View Cached Pings in the RTB Bid Log
When a ping response comes from the cache, the RTB bid log marks it as cached, so you can tell it apart from a live ping. The log shows the buyer's original HTTP status and reason along with the cached marker.
Cached pings are marked only in the RTB bid log. A cache hit during a live call does not appear in any Ringba Portal screen.
Ring Tree Target Ping Cache FAQ
Is ping caching on by default?
No. Caching is off for every RTT until you turn it on.
Does caching apply to the ping that confirms a call?
No. Ringba caches only the first-step ping, which asks the buyer for a bid. The second-step ping that confirms the call always goes to the buyer.
Why did a buyer still receive more than one ping for the same caller?
Check the following:
- The saved response expired before the next ping. The time-to-live is at most 15 seconds.
- The pings did not match under your cache key setting. For example, with Caller ID + ZIP, pings with different ZIP Codes are treated as different callers.
- The buyer's earlier response was a 5xx, a timeout, or a connection failure. Ringba does not save those.
- The pings went to different RTTs. Each target has its own saved responses and its own settings, even when targets point to the same buyer endpoint.
- Caching is off for that RTT.
How can I tell whether a ping came from the cache?
In the RTB bid log, a cached ping is marked as cached. A cache hit during a live call is not visible in any Ringba Portal screen.
Can I turn on caching for all my ring tree targets at once?
No. The Advanced Settings screen lists every RTT. in your account in one table, but you configure caching one target at a time. You cannot configure caching from the Manage Ring Tree Targets screen.
Can I configure ping caching through the API?
Yes. The caching settings are part of the RTT resource in the Ringba API. See the Ringba API Documentation.
What should I do if I need help?
If you have any questions or need additional help, please reach out to our support team via chat or email at support@ringba.com.