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

Add OptimizeAmpBind transformer #162

Merged
merged 7 commits into from
Apr 24, 2021
Merged

Conversation

schlessera
Copy link
Collaborator

@schlessera schlessera commented Apr 21, 2021

This PR adds a new OptimizeAmpBind transformer that enables a considerably faster scanning method in amp-bind, by injecting an i-amphtml-binding attribute on all elements with a bound attribute.

Fixes #84
Depends on ampproject/amp-toolbox#1217

Related ampproject/amp-toolbox#1147

@schlessera schlessera added this to the 0.5.0 milestone Apr 21, 2021
@schlessera schlessera merged commit 6eee28f into main Apr 24, 2021
@schlessera schlessera deleted the add/84-amp-bind-transformer branch April 24, 2021 14:29
src/Dom/NodeWalker.php Show resolved Hide resolved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add amp-bind optimizer
3 participants