Forum Moderators: open

Message Too Old, No Replies

Google cache

Only part of the page is cached

         

h8dk97

2:58 am on Aug 18, 2003 (gmt 0)

10+ Year Member



Hi there,

I am new here and apologise if my question has been answered previously, could not find anything related to it.

My index page is not fully cached on google, when I look at the google cache it only displays about half of the page. Would anyone have any idea why?

Thanks a lot in advance.

Regards,

Jerry

[edited by: Marcia at 7:06 am (utc) on Aug. 18, 2003]
[edit reason] No URLs, please. [/edit]

DerekH

3:56 pm on Aug 18, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Welcome to Webmaster World h8dk97!

Well, I'm poking about in the dark a bit but...

I suppose one of the things is to make sure that there are no glaring errors in the HTML that a browser might let slip but would send a spider off in a different direction.

Try searching google for The W3C MarkUp Validation Service and submit your page.
Regards
DerekH

starec

3:59 pm on Aug 18, 2003 (gmt 0)

10+ Year Member



Google only caches first 100kB of the page. Check your pagesize.

Spannerworks

4:08 pm on Aug 18, 2003 (gmt 0)

10+ Year Member



Agree, pagesize must be less than 101K

h8dk97

1:50 am on Aug 19, 2003 (gmt 0)

10+ Year Member



Thanks all for replying!

My index page is bigger than 100Kb. Do you think it would be a good idea to "hide" javascript and some of the images from googlebot?

Also, the part of the page that is not cached, is it not indexed either?

Thanks again.
Regards,

Jerry

g1smd

11:20 pm on Aug 19, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Put all of your CSS stylesheet information into external files, and as much of your javascript as you can too. This makes it easier to work on your code, and allows the editing of just one file to affect the way the whole site works, and it allows a performance boost for visitors (data can be served once per visitor and cached, rather than having to be served once per page view).

h8dk97

12:13 am on Aug 20, 2003 (gmt 0)

10+ Year Member



Thanks g1smd,

I do have them in an external file. What I would like to know is if anybody does something similar to this:

if ($user_agent!= 'googlebot') {

// display style sheets,
// javascript, some images etc
//

;

}

So that way the information which is useless for google anyway will not be cached. Do you think it would be a good idea?

Thank you.
Regards,

Jerry

BlueSky

12:26 am on Aug 20, 2003 (gmt 0)

10+ Year Member



Why are you so worried about the cache? It's there for humans to use should your server be down at the time. If you remove all that stuff, will it even be usable for them?

If you're that concerned, perhaps you would be better off reducing the overall size of your pages. Except in Korea, most people are still on dialups and 100K+ is a large page for them to download.

Krapulator

1:24 am on Aug 20, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



An index page bigger than 100k? Thats nuts!

h8dk97

11:35 pm on Aug 20, 2003 (gmt 0)

10+ Year Member



It's not nice to have a big index page but those images are actually generating profit for me, so if I am to choose between making money and nice web design I'll go for the first.

This site was my first effort and it would take too much time/effort to redesign the whole thing to make it better looking. I checked with google toolbar, it ranks 4. I think I'll just leave it the way it is, just for now.

Thanks all for your replies.
Regards,

Jerry

g1smd

12:19 am on Aug 21, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



>> It's not nice to have a big index page but those images are actually generating profit for me <<

Images? When talking about 100K people here were referring to the HTML file being less than 100K in size, not all of the page elements and objects added together. The images aren't spidered, nor is the CSS if it is in an external file. Is your .html file less than 100K? Google only caches the HTML, not any of the images, CSS, or JS. That stuff is still served from the actual owners site.

h8dk97

12:48 am on Aug 21, 2003 (gmt 0)

10+ Year Member



Hi g1smd,

Yes, it is actually slightly bigger than 100Kb without images. But I don't think I'll be changing it in the near future anyway.
Thanks.

Regards,

Jerry

Krapulator

2:48 am on Aug 21, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Any chance of stickying me the url?

g1smd

6:54 pm on Aug 21, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



You could have stickied that request to him.