MozillaZine

Proposals for Incorporating Machine Learning in Mozilla Firefox

Friday June 18th, 2004

Blake Ross writes: "I will be doing research this summer at Stanford with Professor Andrew Ng about how we can incorporate machine learning into Firefox. We're looking for ideas that will make Firefox 2.0 blow every other browser out of the water. People who come up with the best 3-5 ideas win Gmail accounts, and if we implement your idea you'll be acknowledged in both our paper and in Firefox credits. Your idea will also be appreciated by the millions of people who use Firefox :-). We'll also entertain Thunderbird proposals."


#21 Preload websites

by Smigit

Saturday June 19th, 2004 10:50 AM

You are replying to this message

this is a bit like Catfish_Man inteligent prefetch. However the follow will concentrate not on your favourites so much but on your usage of one site.

anyway what I reckon would be good if whenever a user visits a site, their route through that site will be saved into a local file (encrypted for security). After a few visits firefox will gradually develop a sense for what is the most common route through the site so when i visit the front page, once it has dloaded the content for the page i am currently on it will load up the 1, 2 or 3 most likely pages i will next visit, and perhaps the next 3 for each of those based on the route firefox predicts that I will take based on my normal route through the site. This would require good bandwith management but could make loading pages faster, especally if the page one wishes to visit is quite large and they stop on the before hand page long ennough, say reading an article. THen in the background itll be loading the next page in.

SO just to give an example. Say that 90% of the time i visit mozillazine.org i click the Fx forums link that takes me to the forums. However i dont read the build forums so i next navigate to the main forum page and then finally into the firefox features topic. Assuming i do this regularily enough, as soon as i arrive at mozillazine.org it will load the news page as normal, but once its done that and assuming i havent requested anything else to be loaded, instead of sitting idle it will precache the FX Builds forum (not out of cache but by dloading the page) and once thats dont it may then cache the forum index. As soon as I request a page to load it stops preloading (that data will now be in cache anyway). Basically firefox would dramaticlly learn by browsing habits and would cater.

theres two issue here. people not on broadband who hapen to be dloading other files and dont have the bandwith....but you could say only precache if the user has "so and so" bandwith available for use. secondly on dynamic sites theres no point precaching a forum if i dont then navigate it for 5 mins, The browser would have to make inteligent decisions such as what to cache when (as a forum ou want it to be as up to date as it can be). That said, you could very well load the images and the like so that they are cached.