Before submitting an issue please check that you’ve completed the following steps:
Made sure you’re on the latest version => commit 324c4fa030cb3197aef071d09845184f0819fe9f
Used the search feature to ensure that the bug hasn’t been reported before
Describe the bug
When activate/ reactivate avif, the bulk optimization notice displayed and optimized images are reoptimized
To Reproduce
Steps to reproduce the behavior:
Activate imagify , enable avif then disable it to bypass this issue
Upload some images (small , medium, large) => webp created (notice the timestamp/size for optimized images)
Enable AVIF => wait till avif is created
notice the timestamp for optimized images => timestamp changed while size is the same
deactivate AVIF
notice the existing webp is regenerated and timestamp is updated for optimized images
Expected behavior
No change in optimized images timestamp (as same as when click generate next-gen link)
Screenshots
If applicable, add screenshots to help explain your problem.
With activation:
screen-capture (85).webm
Additional context
Add any other context about the problem here.
this issue may have impact on servers CPU
click generate next-gen link won't reoptimize the image so may be we can reuse that
generate next-gen link will appear shortly for images that already have AVIF/WEBP
Acceptance Criteria (for WP Media team use only)
Clear instructions for developers, to be added before the grooming
Enable AVIF won't reoptimize image nor recreated existing avif
Disable AVIF won't reoptimize image nor recreate existing webp
Will leave the bulk notice to @wp-media/productimagify to decide about it (in general recommend different notice unless if we will merge bulk optimization with avif in single option)
Before submitting an issue please check that you’ve completed the following steps:
Describe the bug When activate/ reactivate avif, the bulk optimization notice displayed and optimized images are reoptimized
To Reproduce Steps to reproduce the behavior:
Expected behavior No change in optimized images timestamp (as same as when click generate next-gen link)
Screenshots If applicable, add screenshots to help explain your problem. With activation: screen-capture (85).webm
Additional context Add any other context about the problem here.
Acceptance Criteria (for WP Media team use only) Clear instructions for developers, to be added before the grooming