/lists.whatwg.org/pipermail/whatwg-whatwg.org/2009-March/018916.html

https://github.com/whatwg/whatwg.org · HTML · 119 lines · 67 code · 45 blank · 7 comment · 0 complexity · 9bd18ccb1eec9916bf56e339f025e8eb MD5 · raw file

  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
  2. <HTML>
  3. <HEAD>
  4. <TITLE> [whatwg] localStorage + worker processes
  5. </TITLE>
  6. <LINK REL="Index" HREF="index.html" >
  7. <LINK REL="made" HREF="mailto:whatwg%40lists.whatwg.org?Subject=Re%3A%20%5Bwhatwg%5D%20localStorage%20%2B%20worker%20processes&In-Reply-To=%3C28040fc60903201534y21b15c11l3b0243a4fc24d72c%40mail.gmail.com%3E">
  8. <META NAME="robots" CONTENT="index,nofollow">
  9. <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
  10. <LINK REL="Previous" HREF="018932.html">
  11. <LINK REL="Next" HREF="018918.html">
  12. </HEAD>
  13. <BODY BGCOLOR="#ffffff">
  14. <H1>[whatwg] localStorage + worker processes</H1>
  15. <!--htdig_noindex-->
  16. <B>Dmitry Titov</B>
  17. <A HREF="mailto:whatwg%40lists.whatwg.org?Subject=Re%3A%20%5Bwhatwg%5D%20localStorage%20%2B%20worker%20processes&In-Reply-To=%3C28040fc60903201534y21b15c11l3b0243a4fc24d72c%40mail.gmail.com%3E"
  18. TITLE="[whatwg] localStorage + worker processes">dimich at google.com
  19. </A><BR>
  20. <I>Fri Mar 20 15:34:07 PDT 2009</I>
  21. <P><UL>
  22. <LI>Previous message: <A HREF="018932.html">[whatwg] localStorage + worker processes
  23. </A></li>
  24. <LI>Next message: <A HREF="018918.html">[whatwg] localStorage + worker processes
  25. </A></li>
  26. <LI> <B>Messages sorted by:</B>
  27. <a href="date.html#18916">[ date ]</a>
  28. <a href="thread.html#18916">[ thread ]</a>
  29. <a href="subject.html#18916">[ subject ]</a>
  30. <a href="author.html#18916">[ author ]</a>
  31. </LI>
  32. </UL>
  33. <HR>
  34. <!--/htdig_noindex-->
  35. <!--beginarticle-->
  36. <PRE>On Fri, Mar 20, 2009 at 2:39 PM, Drew Wilson &lt;<A HREF="http://lists.whatwg.org/listinfo.cgi/whatwg-whatwg.org">atwilson at google.com</A>&gt; wrote:
  37. &gt;<i> One alternative I'd like to propose is to remove access to localStorage for
  38. </I>&gt;<i> dedicated workers, and give SharedWorkers access to localStorage, but have
  39. </I>&gt;<i> that storage be partitioned by the worker name (i.e. the worker can access
  40. </I>&gt;<i> it, but it's not shared with web pages or any other workers and so you don't
  41. </I>&gt;<i> have any synchronicity issues).
  42. </I>&gt;<i>
  43. </I>
  44. This may be interesting. It allows to keep single API for localStorage. Most
  45. of the usage is probably going to happen inside such a worker - in other
  46. words, sharing the info with other pages of the same origin may not be
  47. needed, and there is always async communication when a live page wants to
  48. share data with a shared worker.
  49. Dmitry
  50. -------------- next part --------------
  51. An HTML attachment was scrubbed...
  52. URL: &lt;<A HREF="http://lists.whatwg.org/pipermail/whatwg-whatwg.org/attachments/20090320/b5c8165c/attachment.htm">http://lists.whatwg.org/pipermail/whatwg-whatwg.org/attachments/20090320/b5c8165c/attachment.htm</A>&gt;
  53. </PRE>
  54. <!--endarticle-->
  55. <!--htdig_noindex-->
  56. <HR>
  57. <P><UL>
  58. <!--threads-->
  59. <LI>Previous message: <A HREF="018932.html">[whatwg] localStorage + worker processes
  60. </A></li>
  61. <LI>Next message: <A HREF="018918.html">[whatwg] localStorage + worker processes
  62. </A></li>
  63. <LI> <B>Messages sorted by:</B>
  64. <a href="date.html#18916">[ date ]</a>
  65. <a href="thread.html#18916">[ thread ]</a>
  66. <a href="subject.html#18916">[ subject ]</a>
  67. <a href="author.html#18916">[ author ]</a>
  68. </LI>
  69. </UL>
  70. <hr>
  71. <a href="http://lists.whatwg.org/listinfo.cgi/whatwg-whatwg.org">More information about the whatwg
  72. mailing list</a><br>
  73. <!--/htdig_noindex-->
  74. </body></html>