Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt WebKit
  4. How to set cache drive on netork for QWebView cache
Forum Updated to NodeBB v4.3 + New Features

How to set cache drive on netork for QWebView cache

Scheduled Pinned Locked Moved Qt WebKit
2 Posts 2 Posters 2.5k 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.
  • A Offline
    A Offline
    aashish.lg
    wrote on last edited by
    #1

    I am using QWebView to display my web content , I wanted to setup cache capability for my webview for that I wanted to set cache drive , but I dont have enough memory available at my client side, how can I give some folder location located at my server.

    1 Reply Last reply
    0
    • D Offline
      D Offline
      davem
      wrote on last edited by
      #2

      I discovered this recently when trying to use QWebSettings() methods to relocate local clientside paths, but found they did not have any effect on browser cache location.

      QtWebKit sets shared and cached data paths using QDesktopServices() storage methods, which for QWS can be overridden by env vars QWS_DATA_HOME and QWS_CACHE_HOME.

      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