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. Is there any cache control?
Forum Update on Monday, May 27th 2025

Is there any cache control?

Scheduled Pinned Locked Moved Solved Qt WebKit
2 Posts 1 Posters 578 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.
  • W Offline
    W Offline
    Wurgl
    wrote on last edited by
    #1

    As I found out, there seems to be a cache in
    ~/.cache/<Organisation Name>/<Application Name>/QtWebEngine

    Is there any method to control that cache? Turn in on/off and/or clear the cache?

    Background: It seems that a redirect (HTTP-Status 301) was cached. But this redirect got changed. However my application still used the old redirect and therefore failed.

    1 Reply Last reply
    0
    • W Offline
      W Offline
      Wurgl
      wrote on last edited by
      #2

      This does the job
      QQuickWebEngineProfile::defaultProfile()->clearHttpCache();

      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