Web page loading slowly

Having problems with building or using the CefGlue .NET/Mono binding? Ask your questions here.

Moderator: fddima

Web page loading slowly

Postby robind336 » Mon Sep 01, 2014 9:52 am

Hi,

I have been able to integrate CEFglue in my project and able to open the desired webpage in my application.
However, the page takes a lot of time to load. Same webpage when i load in chrome desktop browser, loads pretty fast.

This is my code snippet
Code: Select all
CefRuntime.Load();
var settings = new CefSettings();
settings.MultiThreadedMessageLoop = true;
settings.SingleProcess = false;
var argv = new string[] { };
var mainArgs = new CefMainArgs(argv);
var app = new DemoCefApp();
var exitCode = CefRuntime.ExecuteProcess(mainArgs, app);
CefRuntime.Initialize(mainArgs, settings, app);


What could be the possible cause for this? Can anyone help me please. I have a demo to show this week and its in a bad shape right now due to long loading time.
robind336
Techie
 
Posts: 17
Joined: Mon Sep 01, 2014 9:38 am

Re: Web page loading slowly

Postby Czarek » Tue Sep 02, 2014 1:06 am

What CEF version? Are you using Debug or Release builds? Any proxy settings?
Maintainer of the CEF Python, PHP Desktop and CEF C API projects. My LinkedIn.
User avatar
Czarek
Virtuoso
 
Posts: 1927
Joined: Sun Nov 06, 2011 2:12 am

Re: Web page loading slowly

Postby robind336 » Tue Sep 09, 2014 4:04 am

Hi,

1. CEF version is cef_binary_3.1916.1721_windows32
2. I have taken the CEF Release dlls.
3. In OnBeforeCommandLineProcessing() i have put the following commandLine.AppendSwitch(@"no-proxy-server");
So i guess it will not use ant proxy.

I am not very sure why its taking time to load the page. The same page I can see loads faster in Chrome Desktop.
robind336
Techie
 
Posts: 17
Joined: Mon Sep 01, 2014 9:38 am


Return to CefGlue Forum

Who is online

Users browsing this forum: No registered users and 22 guests