HTTP Persistence & Ad Caching

HTTP Persistence Guide

Project Agora Commerce requires a persistent HTTP connection in order to speedily respond to Ad Generation requests. Ad Generation requests should be made on a persistent connection (and not have a new connection generated every time a new Ad Generation request is made) in order for you to receive Project Agora's Ad services at the intended speed.

Every TLS handshake that is generated has a cost, and the more TLS handshakes that are established, the more expensive is the transfer of data from Project Agora Commerce to your E-commerce website.

Maintaining a persistent HTTP connection avoids congestion and improves HTTP response times.

To learn more about HTTP persistent connections, see the following resources: https://en.wikipedia.org/wiki/HTTP_persistent_connection https://tools.ietf.org/html/rfc7230#section-6.4

Ad Caching Guide

Ads returned from Ad Generation Endpoints regardless of adtype cannot be cached.

Every time a page is loaded on a retailer's website, a new ad generation request should be sent to Project Agora Commerce with the correct context, to generate a fresh set of ads.

Last updated