You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ALPs have many client-resolvable query parameters which greatly reduce cache-hit by multiplying cache keys. E.g. https://host/alp?adpos=X will multiply on the possible space of adpos query parameter, even though it's never used by the page itself.
The proposal is to use https://host/alp as the cache URL/key and replace it when AMP runtime starts up to https://host/alp?adpos=X. The replacing URL will be specified via viewer param as #replaceUrl=....
Some important notes:
Replacement should be done, ideally, very early on and definitely before installDocumentStateService is called.
The replacement URL must match the original URLs origin and source origin
The text was updated successfully, but these errors were encountered:
ALPs have many client-resolvable query parameters which greatly reduce cache-hit by multiplying cache keys. E.g.
https://host/alp?adpos=X
will multiply on the possible space ofadpos
query parameter, even though it's never used by the page itself.The proposal is to use
https://host/alp
as the cache URL/key and replace it when AMP runtime starts up tohttps://host/alp?adpos=X
. The replacing URL will be specified via viewer param as#replaceUrl=...
.Some important notes:
installDocumentStateService
is called.The text was updated successfully, but these errors were encountered: