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

    Problem with caching old version.

    Help
    pwa
    2
    2
    536
    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.
    • H
      haohmaru last edited by haohmaru

      ’m facing a big problem. I have a pwa built and everytime I run quasar build, browsers like chrome, brave and opera do not update their caches. So, I have to press CTRL+F5 in pc to get the new version of my app build. In mobile devices my problem is even bigger because I’ve to refresh manually many and many times my app to get updates. I’ve created an item in my menu containing a function with window.location.reload(true) but even so I can’t update the application and it forces the user to have to refresh the page with ctrl+f5. What I’m needing right now it’s a way to create a version of my js and css files everytime I run build. Something like app.1234231.js?v=123, app.1234231.js?v=1234, app.1234231.js?v=12345 and so on.

      1 Reply Last reply Reply Quote 4
      • L
        luna215 last edited by

        You can try disabling cache for the browser while you’re in development.

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