alway get the fixed data?

Posted on
  • I want to use Storage to cache datas.

    After the some times, I always get the fix length data which I write very early.
    I want to know that do Storage can overwirte the old datas when I user write("",""). Otherwise, why I always read the very first datas? And the data length is always 38.

    console.log("iiiiiiiiiiiiiiiiiiiiiiiiiii­iii_1", JSON.stringify(cac))

      let cac ="http");
      console.log("iiiiiiiiiiiiiiiiiiiiiiiiiii­iii_0", JSON.stringify(line))
      console.log("iiiiiiiiiiiiiiiiiiiiiiiiiii­iii_1", JSON.stringify(cac))
      if (cac) {
        line = line.substr(line.indexOf(tar_flag) + tar_flag.length);
        console.log("iiiiiiiiiiiiiiiiiiiiiiiiiii­iii_2", JSON.stringify(line))
      cac += line;
      console.log("iiiiiiiiiiiiiiiiiiiiiiiiiii­iii_3", JSON.stringify(cac))
      st.write("http", cac);


  • Post a reply
    • Bold
    • Italics
    • Link
    • Image
    • List
    • Quote
    • code
    • Preview
About alway get the fixed data?

Posted by Avatar for user109783 @user109783