Content Prefetch

Methods: GET

https://www.pushrcdn.com/api/v2/prefetch?zone_id=[ZONEID]&url=[URL]
Parameters
Field Type Description
zone_id integer CDN zone serving the content
url string Full URL to the file that shall be prefetched, starting with http:// or https://. No trailing slash!
Headers
Field Type Description
APIKEY string Account API key
Example
curl -i -H "Accept: application/json" -H "Content-Type: application/json" -H "APIKEY: 2d49e8f645d90818783c4e6c46f32ca0677dc555" -X GET "https://www.pushrcdn.com/api/v2/prefetch?zone_id=000&url=https://c000z000.pushrcdn.com/image/image.jpg"
Response
HTTP Code JSON Description
200 {"status":"success"} Prefetch request accepted
401 {"status":"error"} Wrong API key or wrong/non-existing zone ID

Fetching can take a while depending on the size of the file (30 seconds per each 100MB on average)