File tree Expand file tree Collapse file tree 4 files changed +16
-0
lines changed Expand file tree Collapse file tree 4 files changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -29,6 +29,10 @@ public CefSettings() : base()
2929 // Disable "Restore pages" popup after incorrect shutdown
3030 // https://github.com/chromiumembedded/cef/issues/3767
3131 CefCommandLineArgs . Add ( "hide-crash-restore-bubble" ) ;
32+
33+ // Disable the back-forward cache
34+ // https://github.com/cefsharp/CefSharp/issues/4621
35+ CefCommandLineArgs . Add ( "disable-back-forward-cache" ) ;
3236 }
3337
3438 /// <summary>
Original file line number Diff line number Diff line change @@ -23,6 +23,10 @@ public CefSettings() : base()
2323 // Disable "Restore pages" popup after incorrect shutdown
2424 // https://github.com/chromiumembedded/cef/issues/3767
2525 CefCommandLineArgs . Add ( "hide-crash-restore-bubble" ) ;
26+
27+ // Disable the back-forward cache
28+ // https://github.com/cefsharp/CefSharp/issues/4621
29+ CefCommandLineArgs . Add ( "disable-back-forward-cache" ) ;
2630 }
2731 }
2832}
Original file line number Diff line number Diff line change @@ -34,6 +34,10 @@ public CefSettings() : base()
3434 // Browser not correctly refreshing on Resize
3535 // https://github.com/cefsharp/CefSharp/issues/4953
3636 CefCommandLineArgs . Add ( "disable-gpu-compositing" ) ;
37+
38+ // Disable the back-forward cache
39+ // https://github.com/cefsharp/CefSharp/issues/4621
40+ CefCommandLineArgs . Add ( "disable-back-forward-cache" ) ;
3741 }
3842 }
3943}
Original file line number Diff line number Diff line change @@ -21,6 +21,10 @@ public CefSettings() : base()
2121 // Disable "Restore pages" popup after incorrect shutdown
2222 // https://github.com/chromiumembedded/cef/issues/3767
2323 CefCommandLineArgs . Add ( "hide-crash-restore-bubble" ) ;
24+
25+ // Disable the back-forward cache
26+ // https://github.com/cefsharp/CefSharp/issues/4621
27+ CefCommandLineArgs . Add ( "disable-back-forward-cache" ) ;
2428 }
2529 }
2630}
You can’t perform that action at this time.
0 commit comments