James Cassell's Blog

Wednesday, January 25, 2006

I believe that I have found why Google won't index my site. My logs show that their robot crawls it about once a week. I was going through the code, and noticed that my code that checks for the If-Modified-Since header looked a bit weird. It turns out that for some reason, if the If-Modified-Since header was present, it would return a 304 Not Modified response. I have disabled this behavior until I have time to fix it at a later date. It will take a couple of days at least, as I have set the content to expire 2 days after it is viewed. I have to get back to studying for my exams...

0 Comments:

Post a Comment

<< Home