Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt for WebAssembly
  4. Force browser to clear the cache after wasm file updated
QtWS25 Last Chance

Force browser to clear the cache after wasm file updated

Scheduled Pinned Locked Moved Unsolved Qt for WebAssembly
4 Posts 3 Posters 1.5k Views
  • 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.
  • T Offline
    T Offline
    tham
    wrote on 14 Nov 2019, 17:12 last edited by tham
    #1

    Is there anyway to force the browser to clear the cache?Thanks

    1 Reply Last reply
    0
    • S Offline
      S Offline
      SGaist
      Lifetime Qt Champion
      wrote on 14 Nov 2019, 19:32 last edited by
      #2

      Hi,

      Isn't that a task that your browser is responsible for ?

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      T 1 Reply Last reply 15 Nov 2019, 01:53
      1
      • S SGaist
        14 Nov 2019, 19:32

        Hi,

        Isn't that a task that your browser is responsible for ?

        T Offline
        T Offline
        tham
        wrote on 15 Nov 2019, 01:53 last edited by
        #3

        @SGaist I can manually clear the cache, do we have a way to tell the browser "you need to clear the cache about this site"?This could give better users experiences

        J 1 Reply Last reply 15 Nov 2019, 06:24
        0
        • T tham
          15 Nov 2019, 01:53

          @SGaist I can manually clear the cache, do we have a way to tell the browser "you need to clear the cache about this site"?This could give better users experiences

          J Online
          J Online
          J.Hilk
          Moderators
          wrote on 15 Nov 2019, 06:24 last edited by
          #4

          @tham your browser has a variety of option for you to do so.

          For chrome you could do one of the following:

          • CTRL-Shift-R
          • Use incognito mode
          • Use the dev settings to disable it-
          • Use Chrome profiles to create a profile with all caching disabled

          I don't know if there's a command or something the server could send to your browser to force a complete reload.


          Be aware of the Qt Code of Conduct, when posting : https://forum.qt.io/topic/113070/qt-code-of-conduct


          Q: What's that?
          A: It's blue light.
          Q: What does it do?
          A: It turns blue.

          1 Reply Last reply
          2

          1/4

          14 Nov 2019, 17:12

          • Login

          • Login or register to search.
          1 out of 4
          • First post
            1/4
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved