-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
amp-next-page: Image URLs aren't rewritten from canonical to cache #15700
Comments
Can you please reopen this? #15699 is a separate issue (the document URLs weren't getting rewritten properly), this is just to note that the image URLs are always going to point to the canonical source, and need rewriting separately. |
@peterjosling Got it. This would require AMP Cache to understand the JSON data and do replacement on it during ingestion. /cc @Gregable and if we ever allow publishers to use an endpoint for JSON data instead of inlining it, we won't be able to do it anymore for remote src cases. |
One possible approach to this with does not require cache changes is forcing authors to put the images in the page using This approach would allow use of |
This issue seems to be in Pending Triage for awhile. @peterjosling Please triage this to an appropriate milestone. |
1 similar comment
This issue seems to be in Pending Triage for awhile. @peterjosling Please triage this to an appropriate milestone. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 7 days if no further activity occurs. Thank you for your contributions. |
What's the issue?
amp-next-page
uses canonical URLs for images in the recommendation box when being served from the cache. It should be transforming them to cache URLs a laamp-img
The text was updated successfully, but these errors were encountered: