mozilla/browserid — pull request #3273 by fmarier (2013-04-18 09:55:09+00:00)
Title: Prefetch in iframe newcachify

Take advantage of the fact that we open a communication iframe to specify a list of dialog resources that could be prefetched by the browser.

Note that these prefetch lines are only suggestions only and the browser is free to ignore them (Chrome on Android has an "only prefetch on wifi" preference for example). However when prefetch happens, the dialog opens up instantly because all of its resources are already in the cache.

See http://feeding.cloud.geek.nz/posts/prefetching-resources-to-prime-browser/ for the background behind this patch.