Purge

Invalidate image cache.

Purge cache for an image

GET https://imengine.example.com/purge.php

The endpoint removes all crops of the image from AWS S3 and queue up a wildcard cache invalidation for the specific image.

Query Parameters

Name
Type
Description

uuid

string

This param makes it possible to use same parameters as the normal image.php url. Uuid for the image to purge.

invalidationUrl

string

The imengine url of the image that should be invalidated.

Example:

https://imengine.example.com/purge.php?invalidationUrl=https://imengine-domain/imengine/image.php?uuid=2889e667-f181-4283-85d9-293e9798a28c&type=preview&source=false&function=hardcrop&width=500&height=500&q=85

Last updated