Warmup API

Process and cache your images before the first request with the Warmup API by Cloudimage

The Warmup API allows you to proactively cache your images in the Cloudimage infrastructure for faster processing before receiving the first request from your end users. We recommend to warm-up Cloudimage in the following cases:

  • upon launching a new collection of thousands/millions of images - to make sure that at launch time, all images will be pre-processed and rocket fast for end users;

  • at upload - to make sure that the uploaded image is already pre-processed to be immediately accessible for end users;

  • when dealing with large images (large animated GIF files, gigapixels pictures, etc.) - as pre-processing is important to save time on first load;

  • performance is a top priority even if it’s on the first load.

Creating a warm-up task

You can provide a list of your images either in a txt/csv file or in the request's body.

POSThttps://warmup.api.cloudimage.com/warmup/urls

URL list from a file

List file format

You need to provide a text file with all your images for the warm-up (one URL per line):

/sample.li/logo-cloudimg-black.png?w=200
/sample.li/logo-cloudimg-white.png?w=200
/sample.li/logo-cloudimg-yellow.png?w=200
/sample.li/hotel.jpg?pixellate=5
/sample.li/house.jpg?pixellate=5
/sample.li/eye.jpg?w=500&h=280
...

Request

X-Client-Key is the client's API key (can be found in Admin Console left menu : Settings / CDN Invalidation).

Response

URL list in request body

Request

X-Client-Key is the client's API key (can be found in Admin Console left menu : Settings / CDN Invalidation).

Response

Getting warm-up status

You can check the status of the warm-up tasks for the last 5 days.

Request

Response

Was this helpful?