Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

JavaScript Forum


You are currently viewing our JavaScript Forum as a guest. Please register to participate.
Login



Reply
make javasciript load last on page, but still be at the top
Old 05-23-2006, 12:26 PM make javasciript load last on page, but still be at the top
Yak Yak Yak Yak Yak

Posts: 593
Location: Rochester, MN
Trades: 0
I have searchfeed.com search results on my site. It makes me some money, but the trouble is that it slows down the load time of each page. So, instead of having 40k+ pages indexed in G, it drops to a few hundred. Then my traffic and revenue drop drastically.

I am absolutely certain that it is the searchfeed script slowing down my pages. I have submitted requests to searchfeed looking for a faster script, but I get no reply. So, my question is this:

How do I force the browser to skip loading of the searchfeed script until the rest of the content has loaded? Does anyone know of a way to make the searchfeed script run faster?

Thanks,

Frank
__________________

Please login or register to view this content. Registration is FREE
neorunner is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 05-24-2006, 05:47 AM Re: make javasciript load last on page, but still be at the top
chrishirst's Avatar
Missing! presumed drunk.

Posts: 41,519
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
SE crawlers don't do javascript so that isn't the issue there

read this thread http://www.highrankings.com/forum/in...howtopic=22636 and this one http://www.highrankings.com/forum/in...howtopic=22570


for browsers the problem is likely to be with the feed servers being unable to handle the requests fast enough.
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
A foolish consistency is the hobgoblin of little minds
Thought for today:- I SEO the only industry where all the cowboys are Indians?
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 05-24-2006, 11:15 AM Re: make javasciript load last on page, but still be at the top
Yak Yak Yak Yak Yak

Posts: 593
Location: Rochester, MN
Trades: 0
It is true. Based on the results, it must be true that it makes a difference to the spiders. If the page takes a while to load because of the javascript, it would cause the spiders to leave before the page loads. I agree, normally this would not be a problem for the spiders, but... I have a php include pulling the javascript that is included in the header file. So, the page waits for searchfeed to load its stuff before loading the rest. I have heard of some css trick to do this, but I can't find it anywhere.

Frank
__________________

Please login or register to view this content. Registration is FREE
neorunner is offline
Reply With Quote
View Public Profile
 
Old 05-24-2006, 06:20 PM Re: make javasciript load last on page, but still be at the top
chrishirst's Avatar
Missing! presumed drunk.

Posts: 41,519
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
you're missing the point

the javascript simply will not be triggered by the crawlers. spiders don't wait for pages to load. all the crawler gets is the source code. So unless you have enough javascript code (as text) to make the page more than 120Kb. It's not an issue for crawlers

Only javascript enabled useragents will be waiting for the feed to load.

the CSS "trick" you are looking for is to place the code for the feed before the closing </body> then position the container absolutely to remove it from the document flow.
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
A foolish consistency is the hobgoblin of little minds
Thought for today:- I SEO the only industry where all the cowboys are Indians?
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Reply     « Reply to make javasciript load last on page, but still be at the top
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.19498 seconds with 12 queries