-
Notifications
You must be signed in to change notification settings - Fork 243
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
ITI: Asset URL rewriting in AMP Optimizer #862
Comments
Sounds good! I'd prefer to name the flag more generic though: One note: rewriting script import URLs is already supported via the ampUrlPrefix flag. If the packager flag is set this should be overridden (and print a warning if it is defined as well). |
Is there a reason we shouldn't just use the Also, does a mapping of |
I'm not aware of an existing |
The In practice, AMP Packager is hard-coded to support only |
Moving the conversation here based on ampproject/amppackager#449
We’d like to move forward with adding AMP Packager compatibility mode to the AMP optimizer.
From the previous issue:
We feel comfortable in adding in a new flag (
--amp-packager-mode
?). The base URL would default tocdn.ampproject.org
, but could be changed to support different AMP caches (is this what theAMP-Cache-Transform
request header is for?).The text was updated successfully, but these errors were encountered: