We accelerate websites

30 days free trial Sign up

Media Acceleration Stream to the world

30 days free trial Sign up

Extensive Network Excellent world coverage

Prefetch CDN service content

URL

https://cdnsun.com/api/cdns/ID/prefetch

Method

POST

Curl example

curl -i -X POST -u username:password -H 'Accept: application/json' -H 'Content-type: application/json' --url 'https://cdnsun.com/api/cdns/ID/prefetch' -d '{"prefetch_paths":["\/images\/image.jpeg","\/images\/image2.jpeg"]}'

Options

OptionData TypeDescriptionExample
IDintegerIndicates the CDN service id.5
prefetch_paths*arrayArray of (string) paths to prefetch.[/images/image.jpeg, /images/image2.jpeg]
 
__    __   __   __   __   _    __   __  
\ \\ / //  \ \\/ // | || | ||  \ \\/ // 
 \ \/ //    \ ` //  | '--' ||   \ ` //  
  \  //      | ||   | .--. ||    | ||   
   \//       |_||   |_|| |_||    |_||   
    `        `-`'   `-`  `-`     `-`'   
                                        
Contact 24/7
Blog Twitter LinkedIn Facebook CrunchBase Google+ / Google plus Foursquare Pinterest