Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QtWebEngine
  4. WebEngine and cache usage
Qt 6.11 is out! See what's new in the release blog

WebEngine and cache usage

Scheduled Pinned Locked Moved Unsolved QtWebEngine
webenginecacheqt6
1 Posts 1 Posters 808 Views 1 Watching
  • 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
    theunsheydenrych
    wrote on last edited by
    #1

    When using the URL "https://sandcastle.cesium.com/", you are presented with a webpage where you can zoom in on the earth, I can see that the cache is being populated (cache directory size is growing) and when unplugging the network I can browse to previous areas, and I can see that the WebEgine is using the cached data.

    When using a URL "http://<ip>:8080/geoserver/wms" where I provide the data on the local network, the WebEgine cache the new data, I can see that the data is cached (cache directory size is growing), but when unplugging the network it does not use the cached data, like in the previous scenario.
    I am using Qt6.2.0

    It is the same code just with different URL's?
    What could the problem be, any advise will be appreciated?

    WebEngineView {
         id: webEngineView
         anchors.fill: parent
         clip: false
         profile: WebEngineProfile {
             storageName: "Profile4"
             offTheRecord: false
             httpCacheMaximumSize: 1073741824 // 1GB cache
         }
         url: "https://sandcastle.cesium.com/"
         //url: "http://<ip>:8080/geoserver/wms"
     }
    

    Regards

    1 Reply Last reply
    0

    • Login

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