On 03/11/10 09:30, Kwah wrote:
Which brings me to my question: do you have had much experience with
storing large amounts of data? If so, which methods did you use?
None, besides testing.
http://groups.google.com/group/greasemonkey-users/t/ca5a0dfac5c5998b
How much is "large amounts"? Really, be honest. A few hundred K bytes
won't make any difference.
I've been thinking about it recently and I can think of a few options::
I'd add: "provide a patch to Greasemonkey, such that GM_set values are
stored in a sqlite DB (one per script) rather than in preferences".
That, and SQL access to said DB has long been on the wishlist, but never
high enough to get attention yet.
* Store it using HTML5 storage
I'd also strongly consider this route. I'm very confident it's scalable
to the point you need it to be. And I'm also pretty sure that you have
to try pretty darn hard to clear this out: a standard clear
cache/cookies doesn't hit this store.
--
You received this message because you are subscribed to the Google Groups
"greasemonkey-users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/greasemonkey-users?hl=en.