Take the 2-minute tour ×
Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

Hey guys, we all know that Google caches the HTML of pages, but does it cache the corresponding CSS as well? I ask because a site I used to have and have since closed down is still in the cache and there's a CSS setup I had on it that I need to replicate on another site now. I can view the cached HTML but that doesn't help me because I don't remember what I did with the CSS.

So, does Google cache the CSS and if so, how do I view it? For those who will ask why I don't just look at my source code for the other site, I don't currently have it on my laptop and I'm not quite sure where the archive is at the moment...

share|improve this question
add comment

2 Answers 2

up vote 6 down vote accepted

No. Viewing the source to a site that Google has cached, there is no indication that the CSS, JS, or any images are cached. I tested this by turning off one of my sites, and then looking at the cached version in Google -- it showed just the HTML, without any stylesheets, JavaScript, images, or other externally linked files.

share|improve this answer
add comment

I don't know the answer to your question, but if Google doesn't, the wayback machine might.

share|improve this answer
    
+1 - I tried WBM, but it had no cache, so I'm sad to say that's a dead end for me. On a side note, I don't even know how to get on WBM, is it automatic? –  Alex Oct 22 '10 at 0:15
    
@Alex - yeah it's automatic, they index in the same way a search engine does. It can take revisions up to 12 months to end up on there if you're not a popular site, so if you try in a few months you might get lucky. –  Mark Henderson Oct 22 '10 at 0:22
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.