Forum Moderators: Robert Charlton & goodroi

Message Too Old, No Replies

Instant preview with new content but old css

         

caribguy

7:22 pm on May 11, 2011 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



About two weeks ago, I changed the structure of one of my sites and added some new content. While I was tinkering, I also decided to change the color scheme.

Since then, I have continued adding new content and discovered that Google now shows a preview of the new pages while still using the old css style sheet.

When I access the pages, my server returns a 200 response with a last-modified date of April 27, which is correct.

Has anyone else noticed anything like this?

agent_x

8:56 pm on May 11, 2011 (gmt 0)

10+ Year Member



Yes I have noticed exactly this. Indeed I have a site consisting of around 250 pages, and I changed the colour scheme as you did, and then noticed after a few days that by doing a search for site:www.mydomain.com I could see some of the pages previewed in the new colour, and some in the old, as Googlebot slowly crawled its way through the updated pages.

Actually I tell a lie, that's not quite what happened. I waited about a week for the previews to change and they didn't, so I made a copy of the CSS file and saved it under a different name and made each page include the renamed file, thus forcing Googlebot to request the CSS every time it crawled a page. That's what got the previews updated in the end - I don't know how long it takes without doing that.