Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

Is there any cache control?



  • 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.



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


Log in to reply