Rollback
Every image optimized by Vibebun Image Optimizer has its original preserved. You can restore any optimized image to its original state with a single click.
How rollback works
Section titled “How rollback works”When you click Rollback on an optimized image:
- The app retrieves the preserved original from storage
- Uploads it back to Shopify via a staged upload
- Replaces the optimized version using Shopify’s
fileUpdateAPI (same URL is preserved) - Polls until Shopify confirms the replacement
- Records the rollback in the optimization log
The image returns to its original size, dimensions, and quality. The CDN URL stays the same — no broken links.
Rollback expiry
Section titled “Rollback expiry”By default, original images are preserved for 7 days after optimization. After that, the originals are automatically deleted to save storage space.
You can change the expiry period in Settings:
- 7 days (default) — originals are kept for one week
- 14 days, 30 days, etc. — extend the preservation window
- 0 (forever) — originals are never deleted; rollback is always available
Once an original expires, the image’s status changes to “Expired” and rollback is no longer available for that image.
Rollbacks and your quota
Section titled “Rollbacks and your quota”Rolling back an image does not count against your monthly optimization quota. You can roll back as many images as you want without affecting your remaining optimizations.
Rollback availability by plan
Section titled “Rollback availability by plan”Rollback is available on all plans, including Free:
| Plan | Rollback |
|---|---|
| Free | Included |
| Basic | Included |
| Advanced | Included |
Bulk rollback
Section titled “Bulk rollback”You can roll back multiple images at once:
- All plans: select individual images using checkboxes, then click Rollback selected in the sticky action bar
- Advanced plan only: click Rollback all on page to roll back every optimized image on the current page
See the Bulk actions guide for details.
Automatic cleanup
Section titled “Automatic cleanup”Expired originals are cleaned up in two ways:
- Lazy cleanup — runs automatically when you visit the Images page
- Scheduled cleanup — your store administrator can set up a daily cron job that calls the cleanup endpoint
Both methods only remove originals that have passed their expiry date. Images set to “forever” (0 days) are never cleaned up.
After uninstalling
Section titled “After uninstalling”When you uninstall the app, all stored data is automatically purged — including preserved originals, optimization logs, and settings. This cleanup happens via Shopify’s app/uninstalled webhook.
If you reinstall the app later, you’ll start fresh with no optimization history.