Jonas,

Le 12 août 2014 à 08:33, Jonas Sicking <jo...@sicking.cc> a écrit :
> However in some cases we can do better than that by loading a template
> page that can be used for multiple of the search results.

This I'm not sure to understand how that would be working. Let's say be any 
page on the Web. How do you know in advance the template for the page? I might 
have missed something. For things owned by Mozilla. It would mean that you 
would send HTML templates fed with JSON data? Do you do partial rendering in 
this case? How does it work with injected data modifying the HTML template 
layout?


> Also note that this isn't just useful for search results.

I was not thinking about search results most of the time. Search results or any 
sequential web thingy (manual, gallery, etc. etc.) is just an obvious one.


> Where it came up for FirefoxOS is in the contacts list, where it's likely that
> the user is going to press one of the contacts, but guessing which one
> is unlikely to be successful.

hmmm… back button is about "caching the past". Easy to pre-render.
links and prefetch is about "caching the future". Harder to pre-render.

-- 
Karl Dubost, Mozilla
http://www.la-grange.net/karl/moz

_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to