-
Notifications
You must be signed in to change notification settings - Fork 385
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
Discovery: Optional/experimental transformers #4213
Comments
I've filed one issue related to this, but it's for a transformer that doesn't exist yet: #4439 |
Discovery result document: https://docs.google.com/document/d/1O_YJPtDQX5BSOi01PuKSjhXgGOHjA1nqE5JXvgDd2mU/edit?usp=sharing |
Conclusion[Extract from the above document] My recommendation is based on the following assumptions:
Given these assumptions, here is a numbered list of tasks to include for the next release, sorted by priority:
All other transformers/functionalities are either high-cost/low-benefit or already provided by the plugin and only needed for 2.0 (assuming that’s when we split out the optimizer library into a separate package). cc/ @westonruter, @amedina |
I agree with your prioritization.
Perhaps we should divide the Optimizer's transformers into two sets: required and optional. The required ones we can always invoke to avoid having to duplicate the logic in the sanitizers. But given that the Optimizer is an optimizer, are there any transformers used for generating valid AMP? Yes, I suppose transformers like As part of the modularization effort, we should be migrating the existing sanitizers into a new standalone PHP package. Should the scope of Optimizer be increased to be an AMP Processor? One class of transformers would be for optimization, another would be for conversion (e.g. /cc @sebastianbenz |
All this to say, then the PHP |
Agree with @westonruter. Having a common spec for transformers (with an easy to use test suite) would be a good thing to have. |
Closing as I believe the discovery has been completed. |
Feature description
Identifying and determining issues from non-standard transformers when establishing feature parity between Go and PHP versions of optimizer libs.
Transformers differ in scope across versions with local variance. In Go, some transformers have split up same functionality over multiple tasks providing the same functionality in the end but with different process. The goal is parity of functionality but providing this with low complexity and a robust framework for PHP.
Derived from #958
Relates to #4214, #4215, #4216
Do not alter or remove anything below. The following sections will be managed by moderators only.
Acceptance criteria
Implementation brief
QA testing instructions
Demo
Changelog entry
The text was updated successfully, but these errors were encountered: