https://bugzilla.wikimedia.org/show_bug.cgi?id=31011

--- Comment #9 from Jon <[email protected]> 2012-03-07 15:08:42 UTC ---
Say I open http://en.m.wikipedia.org/wiki/San Francisco without javascript - I
can use the search in that I type a search term and click okay and get a list
of search results.

If I do have javascript however, javascript could override all the links in the
page and the search in the page so that when a future page is loaded it is
loaded via javascript.

Say there was a link to California in the San Francisco page. When I click
California normally the following happens...

* request made to the api to get content
* content put into page via javascript
* functionality like toggling is added
* the address bar is updated to point to the new resource
(http://en.m.wikipedia.org/wiki/California) [1]

Now the key thing is the page hasn't actually changed - I still have the same
javascript and same html. If I hit refresh I load the full page as reflected in
the address bar.

Note if I open California in a new window I get a full page load.

So essentially we'd be cutting down quite a few HTTP request and give a quicker
experience to many users but not everyone.

[1] https://developer.mozilla.org/en/DOM/Manipulating_the_browser_history

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to