performance icon indicating copy to clipboard operation
performance copied to clipboard

Set fetchpriority to low if image is in the initial viewport

Open devansh016 opened this issue 1 year ago • 1 comments

Summary

Set fetchpriority to low if image is in the initial viewport but is not visible

Fixes #1309

Relevant technical choices

if ( ! $is_visible ) {
	$walker->set_attribute( 'fetchpriority', 'low' );
}

devansh016 avatar Jun 25 '24 11:06 devansh016

The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the props-bot label.

If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message.

Co-authored-by: devansh016 <[email protected]>
Co-authored-by: westonruter <[email protected]>

To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook.

github-actions[bot] avatar Jun 25 '24 11:06 github-actions[bot]