Re: Updated page speed
Date: February 13, 2007 04:53AM
Seraphim,
Just had the same thought. Had to find a new location for it, as the old no longer exists.
I'm trying the following, but not sure if it is working or not.
============================================================
MENUS
# ----- Layers
%ifplugin layers
CloseLayer{
layers(Close,Close Laye&r\tCtrl+F4)
layers(CloseAll,Close All La&yers\tCtrl+Shift+F4)
layers(CloseAllOther,Close O&ther Layers\tShift+F4)
-
macros(ToggleSpeed)
}
&Layers{
%ifplugin macros
macros(Layers,&Options...)
-
%endif
layers()
}
%endif
# ----- Sessions
==============================================================
MACROS
EnginesSync{
$SearchEngineURL=getpref(STRING,$SearchEngine); $SearchEngineName=getpref(STRING,$SearchName); $n=0; while($n!=10) &EngineLoop;
setcheck("macros(SearchLock)",getpref(BOOL,$sl));
setcheck("macros(Keyword)",getpref(BOOL,$kw));
setcheck("macros(ToggleSpeed)", getpref(BOOL, "network.http.pipelining") == true ? true:false);
# Support for K-Meleon 0.9 engine macros:
&EngineSync;
}
EngineLoop{
setcheck("macros(SE".$n.")",getpref(STRING,$se.$n.".url")==$SearchEngineURL ?true:false); $n=$n+1;
}
#--------------------
# PAGESPEED MACRO
# TOGGLE PAGESPEED
ToggleSpeed{
menu = "Enable Page Load Speed-Up"
getpref(BOOL, "network.http.pipelining") == true ? &DisableSpeed:&EnableSpeed;
&Sync;
getpref(BOOL, "network.http.pipelining") == true ? $warn = "enabled":$warn = "disabled";
Alert("Page Load Speed-Up has been ".$warn."!");
}
# ENABLE PAGESPEED
EnableSpeed{
# TURN ON TIMER BASED REFLOW MANAGEMENT
setpref(BOOL, "content.notify.ontimer", true);
# SETS THE ALLOWED TIME BETWEEN REFLOWS IN MICROSECONDS
setpref(INT, "content.notify.interval", 100);
# SET THE NUMBER OF REFLOWS TO DO BEFORE WAITING FOR THE REST OF THE PAGE TO ARRIVE
setpref(INT, "content.notify.backoffcount", 200);
# ENABLE IMPROVED PIPELINING
setpref(BOOL, "network.http.pipelining", true);
setpref(BOOL, "network.http.pipelining.firstrequest", true);
setpref(INT, "network.http.pipelining.maxrequests", 100);
setpref(BOOL, "network.http.proxy.pipelining", true);
# INCREASE MULTI-THREADED DOWNLOAD PERFORMANCE
setpref(INT, "network.http.max-connections", 60);
setpref(INT, "network.http.max-connections-per-server", 32);
setpref(INT, "network.http.max-persistent-connections-per-proxy", 16);
setpref(INT, "network.http.max-persistent-connections-per-server", 8);
# REMOVE PAINT DELAY WHEN LOADING
setpref(INT, "nglayout.initialpaint.delay", 0);
# DISBALE KEEP-ALIVE
setpref(BOOL, "network.http.keep-alive", false);
setpref(BOOL, "network.http.proxy.keep-alive", false);
}
# DISABLE PAGESPEED
DisableSpeed{
setpref(BOOL, "content.notify.ontimer", false);
setpref(INT, "content.notify.interval", 1000000);
setpref(INT, "content.notify.backoffcount", 5);
setpref(BOOL,"network.http.pipelining", false);
setpref(BOOL,"network.http.pipelining.firstrequest", false);
setpref(INT, "network.http.pipelining.maxrequests", 4);
setpref(BOOL, "network.http.proxy.pipelining", false);
setpref(INT, "network.http.max-connections", 24);
setpref(INT, "network.http.max-connections-per-server", 8);
setpref(INT, "network.http.max-persistent-connections-per-proxy", 4);
setpref(INT, "network.http.max-persistent-connections-per-server", 2);
setpref(INT, "nglayout.initialpaint.delay", 250);
setpref(BOOL, "network.http.keep-alive", true);
setpref(BOOL, "network.http.proxy.keep-alive", true);
}
#--------------------
N
Re: Updated page speed
Posted by:
Peabody
Date: February 16, 2007 10:00PM
I would like to learn more about these parameters. I have tested both Firefox and K-M with and without those alleged speed-improving parameters and I notice no difference in web page rendering speed.
I am on a broadband connection, but I saw no improvement several months ago when I was on dial-up. I simply never see any difference.
I do not doubt that some people see a significant difference, otherwise these recommendations would hardly flourish throughout the web. I wonder, however, why I never see any difference, both with dial-up and broadband. Curiouser and curiouser.