No More Posting New Topics!

If you have a question or an issue, please start a thread in our Github Discussions Forum.
This forum is closed for new threads/ topics.

Navigation

    Quasar Framework

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    What are some best practices to consider when using PWA and LocalStorage?

    Framework
    2
    2
    155
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • P
      PiotrG last edited by

      Just trying to architecture out a sample implementation of using vuex and localstorage when deploying a PWA app. The app will not require SSR.

      I am using a Laravel API Backend with JWT for authentication.

      What are some of the best practices to follow to optimise speed, caching and security?

      Are there any in-depth tutorials roughly related to some of the above?

      I would like to load some data from the api into localstorage and periodically hydrate in the background without the user actively initiating the hydration.

      Any tips, tricks and/or links would be very appreciated!

      qyloxe 1 Reply Last reply Reply Quote 0
      • qyloxe
        qyloxe @PiotrG last edited by

        @PiotrG consider websockets with data pushed from server only to active clients or some kind of higher level synchronized db. Of course, mandatory CSRF protection. On the server side, monitoring of API calls - count, time spent, anomalies etc.

        1 Reply Last reply Reply Quote 0
        • First post
          Last post