Improvement
Apr 8, 2025
AI Commerce's image file distribution automation now supports versioning with the v-parameter. This allows you to retrieve a specific version of an image file without caching or automatic image scaling.
How does it work?
Add a parameter to the image URL, such as ?v=7208527732, so that:
The CDN bypasses any potential cache
You can see the original and updated image directly in the S3 bucket
Automatic scaling is not triggered, and the image is returned in full resolution
Benefits:
You can quickly see if a new image has been successfully saved to the server
Developers and content creators can test and verify image swaps without any waiting
Facilitates the management of image updates, especially when files with the same name are replaced
This is particularly useful in launches and situations where the timeliness of images is business-critical (for example, campaign pages or homepage elevations). You can create the version key freely as long as it is unique.