ludo/jquery-treetable — pull request #34 by quantum13 (2012-01-12 22:51:50+00:00)
Title: Saving state of nodes using Persist.js instead of cookie

"Cookie is limited by the number of maximum number of cookies that can be saved by the browser. Older browsers typically limited the number of cookies to 20 per domain, although newer browsers have increased this limit to 50 cookies per domain."

So, if we have big tables new node state cookies overwrite old ones or other cookie (for examples session cookie).

We can use one cookie for list of expanded nodes (how you say here https://github.com/ludo/jquery-treetable/pull/19#issuecomment-1688349), but max size of all cookies from domain is 4 kb and this is not enough for large tables.

Persist.js allow to store more data using "non-Cookie mechanisms for saving client-side persistent data"