Skip to content

Caching

Every successful feed response (200) and every 304 carries Cache-Control: public, max-age=<seconds>. The number is how long the document stays fresh. Do not poll faster than max-age.

Most feeds also carry a strong ETag. Send it back as If-None-Match and an unchanged feed answers 304 Not Modified with no body.

Terminal window
curl -i "https://feeds.ticpro.com/example-partner.json?token=YOUR_FEED_TOKEN"
# ETag: "abc123"
curl -i -H 'If-None-Match: "abc123"' \
"https://feeds.ticpro.com/example-partner.json?token=YOUR_FEED_TOKEN"
# HTTP/1.1 304 Not Modified

Very large feeds (over 20,000 items) and feeds with no cache time are streamed as they are built, without an ETag. For these, poll by max-age only.

Feeds are also marked X-Robots-Tag: noindex, so they never enter search results.