>
> Date: Sat, 11 Dec 2010 23:15:52 +0100
> From: Diego Perini <diego.per...@gmail.com>
>
> I am not sure I understand your objectives, you could probably save
> the state on the server.
>

Saving the state on the server is not an option. This doesn't solve the
problem of sharing links between users. It would be annoying for a helpdesk
employee to everytime go through the whole process of finding out where a
user is within the application.


> Have you considered using "cookies" ? Are they limiting your objectives ?
>

Cookies add a certain overhead, so I actually would prefer LocalStorage in
this case. However it would be a fix only for IE8. The other browsers work
perfectly fine when changing the hash.


>
> How much storage do you need ?
>
> It's just a simple string that is used to set the current location. Nothing
fancy.


> Date: Sat, 11 Dec 2010 18:30:03 -0500

From: Roger Roelofs <roger.roel...@gmail.com>

This is kind of a long shot...  Three questions:  How big is your dom?


A simple test comes out to about 1300 nodes in the DOM. A lot of event
handlers are being attached to the DOM nodes however.


>  Is there an id or named anchor that matches the hash?


I created an anchor with id and name set to test, and used the IE8 developer
tools to test the difference between start and end. It doesn't make a
difference.


> How much

memory is ie using when the slowness occurs?


IE starts with 74mb, after one click it grows to 103, second 108, third
111.


>  If the dom is really

large and memory low, I can imagine ie walking the dom to find where

to scroll the page.


This doesn't seem to be the case. I also made a test with a 300kb html file
which had different attributes set everywhere and I could change the hash
easily.

The application does use a lot of event handlers, uses an iframe and makes
extensive use of XML documents on the client side.

Thanks so far guys,

Sander
_______________________________________________
JSMentors mailing list
JSMentors@jsmentors.com
http://jsmentors.com/mailman/listinfo/jsmentors_jsmentors.com

List Archive:
http://jsmentors.com/pipermail/jsmentors_jsmentors.com/

Reply via email to