Skip to content

LocalStorage not persisted to disk with relative CachePath #3074

@D4koon

Description

@D4koon
  • What version of the product are you using?
    79.1.360 - nuget

  • What architecture x86 or x64?
    x86

  • On what operating system?
    Win10

  • Are you using WinForms, WPF or OffScreen?
    WPF

  • What steps will reproduce the problem?
    When im using relative path for CachePath like the code given on the wiki:
    https://github.com/cefsharp/CefSharp/wiki/General-Usage#initialize-and-shutdown
    settings.CachePath = "cache";
    The local-cache does not persist after restart also i have proper read/right rights on the folder.
    Its also writing something...
    I also tried other relative paths like "../cache" or "cachetest" which also not work

  • What is the expected output? What do you see instead?
    After restart the data from local storage is still available

  • How to fix
    Using the full path works without problem:
    "settings.CachePath = C:\\XXX\\bin\\x86\\Debug\\cache";

Metadata

Metadata

Assignees

No one assigned

    Labels

    upstreamThese issues require fixing in the Chromium Embedded Framework(CEF) or Chromium.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions