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
Since 2.0.0-beta.13, if your page contains multiple links to the same route (either with or without differences in the parameters) the prefetcher will make multiple requests for that route, all of which of course return identical payloads.
I think the changes to Messenger.send to return a promise might be the cause. (01a1773)
Previously, if multiple calls were made to prefetch with the same URL, each call would complete and PREFETCHED_URLS be updated appropriately before the next call to prefetch executed, so for all subsequent calls, Messenger.send would never be called.
Would it make sense for the values of PREFETCHED_URLS cache to be the promises that Messenger.send returns?
The text was updated successfully, but these errors were encountered:
Since
2.0.0-beta.13
, if your page contains multiple links to the same route (either with or without differences in the parameters) the prefetcher will make multiple requests for that route, all of which of course return identical payloads.I think the changes to
Messenger.send
to return a promise might be the cause. (01a1773)Previously, if multiple calls were made to
prefetch
with the same URL, each call would complete andPREFETCHED_URLS
be updated appropriately before the next call toprefetch
executed, so for all subsequent calls,Messenger.send
would never be called.Would it make sense for the values of
PREFETCHED_URLS
cache to be the promises thatMessenger.send
returns?The text was updated successfully, but these errors were encountered: