Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Optimization Detective: Server-applied optimizations informed by client-side detection #869

Closed
22 of 25 tasks
westonruter opened this issue Oct 24, 2023 · 5 comments
Closed
22 of 25 tasks
Assignees
Labels
[Issue] Overview Provides an overview of a specific project [Plugin] Optimization Detective Issues for the Optimization Detective plugin

Comments

@westonruter
Copy link
Member

westonruter commented Oct 24, 2023

Feature Description

See exploration document: Image Loading Optimization via Client-side Detection

Work on this is contained in the feature/image-loading-optimization branch. See issues/PRs with the [Plugin] Optimization Detective label.

For more context, see #117

What follows are the main issues to achieve the MVP. For ongoing business-as-usual issues to pull from, see the labelled issues.

MVP Issues

@felixarntz
Copy link
Member

@westonruter Can you update the PRs to go against a feature/* branch, to decouple this from the regular release process? That way we can individually review and decide when this is good to be included in a PL release.

@westonruter
Copy link
Member Author

Can you update the PRs to go against a feature/* branch, to decouple this from the regular release process? That way we can individually review and decide when this is good to be included in a PL release.

@felixarntz I've done so with the initial PR (#875). The second PR is branched off the initial PR's branch, so once it is merged it should automatically target the feature branch. (And the third PR is branched off of the second PR's branch.)

@westonruter
Copy link
Member Author

For an easy way to reproduce a scenario where this is needed, try the Enable Responsive Image plugin to set alternate images to display for a given image on different viewport widths.

@westonruter
Copy link
Member Author

westonruter commented Feb 13, 2024

I'm seeking to improve on the name "Image Loading Optimization" for the standalone plugin currently under development. As I've shared before, the initial scope for this plugin is to precisely set the fetchpriority=high attribute on the actual LCP image as measured by client visits, including across the various breakpoints. This will also apply to accurately setting/omitting lazy-loading. But I don't want to limit the plugin to just images, as using the client to gather metrics to apply server-side optimizations could also extend to reserving space to reduce CLS, or prioritizing the loading of a font for some LCP header text, or adding content-visibility to element containers to reduce time spent on initial layout. So to keep the door open to extend to other opportunities, I'd like a name less specific to images. I've pulled together some ideas which I came up with on my own as well as those suggested by Bard Gemini. Could you lend your thoughts in this survey to what resonates with you? https://forms.gle/XGTsUg3ovxnLQ58x9


Update: The chosen name is Optimization Detective, although this plugin is slated to become a dependency plugin for an Image Loading Optimization (or similar name) which will be responsible for extending the dependent plugin with the image optimization features. For more, see the long conversation at #1046.

@westonruter westonruter changed the title Image Loading Optimization via Client-side Detection Optimization Detective: Server-applied optimizations informed by client-side detection Feb 22, 2024
@sstopfer sstopfer moved this to In Progress 🚧 in WP Performance 2024 May 26, 2024
@sstopfer sstopfer added [Focus] Images [Plugin] Optimization Detective Issues for the Optimization Detective plugin and removed [Focus] Images [Plugin] Optimization Detective Issues for the Optimization Detective plugin labels May 26, 2024
@westonruter
Copy link
Member Author

@github-project-automation github-project-automation bot moved this from In Progress 🚧 to Done 😃 in WP Performance 2024 Aug 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Issue] Overview Provides an overview of a specific project [Plugin] Optimization Detective Issues for the Optimization Detective plugin
Projects
Status: Done 😃
Status: In Progress
Development

No branches or pull requests

3 participants