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

Provide mechanism to easily turn off optimizations applied by Optimization Detective for lab testing #1069

Closed
westonruter opened this issue Mar 20, 2024 · 1 comment · Fixed by #1193
Labels
[Plugin] Optimization Detective Issues for the Optimization Detective plugin [Type] Feature A new feature within an existing module

Comments

@westonruter
Copy link
Member

Feature Description

As sites start to adopt Optimization Detective and their pages are optimized, it would be very useful to be able to compare how the page loads with the optimizations applied as well as with the optimizations absent. This would allow us to do lab testing for live sites to see the impact. This would avoid us having to find sites in CrUX or HTTP Archive that used to not have the plugin and then got the plugin installed, in order to do a before/after comparison. (Granted, this should still be done with CrUX to get actual field impact.)

This could be done simply by adding a query parameter to the URL, for example ?disable-optimization-detective=1.

@westonruter westonruter added [Type] Feature A new feature within an existing module [Plugin] Optimization Detective Issues for the Optimization Detective plugin labels Mar 20, 2024
@westonruter
Copy link
Member Author

Humm, this would also be relevant to Embed Optimizer and other plugins. Should we have a common mechanism (public interface) to disable certain performance features for a specific request?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Plugin] Optimization Detective Issues for the Optimization Detective plugin [Type] Feature A new feature within an existing module
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant