Skip to content

CEF too slow under windows Server 2025 #572

@hafedh-trimeche

Description

@hafedh-trimeche

Hello,

Please note that CEF is too slow under 2025 Server (up 20 seconds).

Configuration:

  GlobalCEFApp := TCefApplication.Create;
  with GlobalCEFApp do
  begin
    OnContextInitialized             := DoOnContextInitialized;

    AllowFileAccessFromFiles         := True;
    AllowRunningInsecureContent      := True;
    BlinkSettings                    := 'hideScrollbars=true,scrollAnimatorEnabled=false';
    DeleteCache                      := True;
    DeleteCookies                    := True;
    DisableBackForwardCache          := True;
    DisableBackgroundNetworking      := True;
    DisableComponentUpdate           := True;
    DisableBackForwardCache          := True;
    DisableImageLoading              := True;
    DisableJavascriptAccessClipboard := True;
    DisableJavascriptDomPaste        := True;
    DisableSpellChecking             := True;
    DisableWebSecurity               := True;
    EnableGPU                        := True;
    EnableMediaStream                := False;
    EnablePrintPreview               := False;
    EnableSpeechInput                := False;
    EnableUsermediaScreenCapturing   := False;
    ExternalMessagePump              := False;
    IgnoreCertificateErrors          := True;
    MuteAudio                        := True;
    MultiThreadedMessageLoop         := False;
    ExternalMessagePump              := False;
    NetLogEnabled                    := False;
    NoSandbox                        := True;
    PersistSessionCookies            := False;
    ReRaiseExceptions                := False;
    SetCurrentDir                    := True;
    ShowMessageDlg                   := False;
    SingleProcess                    := False;
    SmoothScrolling                  := STATE_DISABLED;
    TouchEvents                      := STATE_DISABLED;
    WindowlessRenderingEnabled       := True;
    if LogFile<>'' then
    begin
      ForceDirectories(ExtractFileDir(LogFile));
      LogFile     := LogFile;
      LogSeverity := LOGSEVERITY_ERROR;
    end;
  end;

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions