Marking, stripes, violin from Local Storage



  • The aim was to minimize traffic, increase the speed of subsequent downloads, and re-attend the site. It is desirable exclusively for Native JS, as well as for various Framworths, JQuery, Bootstrap, etc.

    Objective: When the site is first visited, record the local Storage markings as well as the styles, scrips as possible. (Please record after the user has downloaded the page so as not to inconvenience the user during the first visit).

    When we're back on the site, we're gonna get out of Local Storage all we got. Nor would it be an extra check for changes before discharge, but it's a bonus, not a major task.

    Clearly, we'll be coding most likely with the help of: encodeURIComponent♪ Decoding back ♪ decodeURIComponent(Can you know the best way?) So I'm recently studying JS requesting assistance in implementing the Local Storage recording/referencing mechanism, if possible. It's good to know anyway.



  • In addition to the comments. Local Storage's mission is not to clip files, but to store some single data that you might need in your work, some sort of mini-base of dannaise, only in the browser. Don't even think about keeping a page mark in Local Storage, violin, style, there's a cashing machine on the server and client. With cashing on the client's side, almost all the browsers are fine with cashing. Cashing on the server's side involves setting headlines, and again, regardless of the server technology -PHP, ASP.NET, etc., the cashing works perfectly. Your job is to set the headlines.




Suggested Topics

  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2