wp-media / wp-rocket

Performance optimization plugin for WordPress
https://wp-rocket.me
GNU General Public License v2.0
687 stars 215 forks source link

New backend section to handle the Automatic Lazy Rendering exclusions #6987

Open piotrbak opened 3 hours ago

piotrbak commented 3 hours ago

Is your feature request related to a problem? Please describe. We have some different issues related to the layout problems with Automatic Lazy Rendering: https://github.com/wp-media/wp-rocket/issues/6959

Describe the solution you'd like We'd like to be able to define HTML elements which will not receive hashes during the process (exclude from the feature). It'd allow us to exclude elements before the real fix is applied.

It should work with regex.

Another approach Prevent from adding data-wpr-lazyrender attribute to the elements

Additional context We should have a new backend section to handle it

MathieuLamiot commented 3 hours ago

Discussed with @piotrbak: this would be released as a hotfix, so not including other changes already on develop. To take into account for branch management.

Miraeld commented 47 minutes ago

We should have a new backend section to handle it

Where is it supposed to be in the backend ?

MathieuLamiot commented 31 minutes ago

From what I understand, there will be a new dedicated section: https://github.com/wp-media/rucss-backend/issues/140