With the apparent use of load times for Google Search Results, I have spent time thinking through speeding up of our site.
I minified the highlight.js code (pulling out comments and spaces) and reduced the size to 3,804 bytes and I off loaded the script (along with the general site images) to an alternate domain.
Only 5% of our users use the zoom script, yet every user has to download the script. I would like to develop a conditional load script to encapsulate the call for the hightlight.js script and <body onload="highlight();">. The basics would be:
if Query starts with ?zoom
then
load highlight.js
call onload highlight
end
suggestions? I plan to contact a programmer I know for help in a few days if no one here has a suggestion.
Colin
I minified the highlight.js code (pulling out comments and spaces) and reduced the size to 3,804 bytes and I off loaded the script (along with the general site images) to an alternate domain.
Only 5% of our users use the zoom script, yet every user has to download the script. I would like to develop a conditional load script to encapsulate the call for the hightlight.js script and <body onload="highlight();">. The basics would be:
if Query starts with ?zoom
then
load highlight.js
call onload highlight
end
suggestions? I plan to contact a programmer I know for help in a few days if no one here has a suggestion.
Colin
Comment