Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 5 of 5
  1. #1
    Regular Coder
    Join Date
    Aug 2010
    Location
    Now Southern Oregon. I was born and had lived my life in Los Angeles until relocating last year (2010)
    Posts
    209
    Thanks
    52
    Thanked 1 Time in 1 Post

    web workers, local storage and browser cache?

    Hello;
    I am in the process of getting a grip on html5 and new javascript features:
    web workers and local storage;

    The first question that arises is
    What about cache requirements for these new features? An innocent
    user/web surfer is not going to instantly know to increase the cache allocation;
    So what are the issues here and how can they be dealt with?

    (as an aside I got a dialog from my Flash plugin in Firefox that indicated
    an html page I saved locally was trying to access and use localstorage:
    begging another question, not for this forum, has the security model for
    Flash ActionScript changed? (shared objects))

  • #2
    Senior Coder rnd me's Avatar
    Join Date
    Jun 2007
    Location
    Urbana
    Posts
    4,273
    Thanks
    10
    Thanked 581 Times in 562 Posts
    i don't think workers get any localStorage.
    there is no cache allocation feature that you speak of for the user to alter.
    my site (updated 13/9/26)
    BROWSER STATS [% share] (2014/5/28) IE7:0.1, IE8:5.3, IE11:8.4, IE9:3.2, IE10:3.2, FF:18.2, CH:46, SF:7.9, NON-MOUSE:32%

  • #3
    Regular Coder
    Join Date
    Aug 2010
    Location
    Now Southern Oregon. I was born and had lived my life in Los Angeles until relocating last year (2010)
    Posts
    209
    Thanks
    52
    Thanked 1 Time in 1 Post

    browser cache allocation

    There is a method of manually allocating cache size for the user:
    (in Firefox for instance, in this case on Mac OSX)
    preferences -> advanced -> network
    In this panel the user can allocate browser cache.
    There is not a browser that I know of that the user cannot allocate cache
    size, if they know what it is and how to do it.

    If both web worker are running and local storage is used they will use
    resources: I.E. cache

  • #4
    Regular Coder
    Join Date
    Apr 2012
    Location
    St. Louis, MO
    Posts
    985
    Thanks
    7
    Thanked 101 Times in 101 Posts
    I'm not familiar with web worker. But I've been playing with localStorage and sessionStorage, quite a bit.

    AFAIK, only FireFox (at least version 12) allows the user to change the amount of memory used for localStorage and sessionStorage; this is done in about:config. I think later versions of FF may have disabled this feature.

    To my knowledge, no other browser allows users to adjust the memory allocated to webStorage.
    ^_^

    If anyone knows of a website that can offer ColdFusion help that isn't controlled by neurotic, pedantic jerks* (stackoverflow.com), please PM me with a link.
    *
    The neurotic, pedantic jerks are not the owners; just the people who are in control of the "popularity contest".

  • #5
    Senior Coder rnd me's Avatar
    Join Date
    Jun 2007
    Location
    Urbana
    Posts
    4,273
    Thanks
    10
    Thanked 581 Times in 562 Posts
    Quote Originally Posted by anotherJEK View Post
    There is a method of manually allocating cache size for the user:
    (in Firefox for instance, in this case on Mac OSX)
    preferences -> advanced -> network
    In this panel the user can allocate browser cache.
    There is not a browser that I know of that the user cannot allocate cache
    size, if they know what it is and how to do it.
    ok, but what does adjusting the cache have to do with localStorage or WebWorkers?
    my site (updated 13/9/26)
    BROWSER STATS [% share] (2014/5/28) IE7:0.1, IE8:5.3, IE11:8.4, IE9:3.2, IE10:3.2, FF:18.2, CH:46, SF:7.9, NON-MOUSE:32%


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •