Monthly Archives: July 2018

html5 localStorage pitfalls

  • It doesn’t disappear after window closed
  • It doesn’t expire
  • The old standard of it only allow string to be saved. New standard is not like so, but all mainstream browsers still use the old standard.