Clear Critical Images on site logo change on pages using it as LCP #6795
Labels
module: OCI
Optimize Critical Images
priority: high
Issues which should be resolved as quickly as possible
quick win
type: enhancement
Improvements that slightly enhance existing functionality and are fast to implement
Before submitting an issue please check that you’ve completed the following steps:
Describe the bug
In some case, the LCP element might be the logo if it's too prominent.
If the logo is changed, and OCI has been already generated, WP Rocket will keep preloading the wrong LCP image.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Though it's not generally expected for the logo to be the LCP element, but it might happen.
We need to track logo changes, at least on the Customizer, and clear rows on OCI where it's being used as the LCP element.
Screenshots
N/A
Additional context
N/A
Acceptance Criteria (for WP Media team use only)
Clear instructions for developers, to be added before the grooming
The text was updated successfully, but these errors were encountered: