Ask Your Question

askbot latency

asked 2011-11-25 08:12:39 -0500

poseidonsg's avatar

askbot's pages take a lot of time to load. For example the average latency of this page was close of 1100 ms which is huge

Network latency was 1065ms (responseEnd - fetchStart).

The page took 1688ms to load after it was received from the server (loadEventEnd - responseEnd).

Navigation and page load took a total of 2753ms (loadEventEnd - navigationStart).

is there a way to reduce the latency?

edit retag flag offensive close merge delete


Notice that all the js files in the production mode are loaded in the end of the page - that will reduce the apparent page load time. We are now working on spriting all images so there will be fewer requests to load the media files.

Evgeny's avatar Evgeny  ( 2011-11-25 11:12:31 -0500 )edit

I recommended you use some of the tags I used "speed" and "profile" so these appear as related questions. I dont' have enough karma to edit your tags.

Joseph's avatar Joseph  ( 2011-11-28 03:55:28 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2011-11-25 08:16:55 -0500

Evgeny's avatar

updated 2011-11-25 10:51:11 -0500

Most likely it is due to the way you deployed.

Please check - are you serving media from Python? (all media should be served by a webserver directly)

Is your system swapping memory?

Initial startup - just the first hit will take longer due to compilation and determination whether you changed media, currently we do it by calculating hash of the content of the media dirs, there may be a faster way to do it. If you have multiple processes - each will consume extra time on response to the first web request.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools


Asked: 2011-11-25 08:12:39 -0500

Seen: 192 times

Last updated: Nov 25 '11