Forum Moderators: open
www.mysite.tld 66.249.64.195 - - [26/Oct/2004:16:11:05 +0200] "GET /widgets.html HTTP/1.0" 304 0 "-" "Googlebot/2.1 (+http://www.google.com/bot.html)"
www.mysite.tld 66.249.64.195 - - [26/Oct/2004:16:11:05 +0200] "GET /widgets.html HTTP/1.0" 200 2981 "-" "Googlebot/2.1 (+http://www.google.com/bot.html)"
First the bot gets a 304 (Not modified), which is normal behavior (read this thread [webmasterworld.com] for more info). But a split second later, from the same IP address, it says 'gimme that file anyway'.
This happens sometimes. On other occasions the bot seems happy with the 304 and does not return immediately.
It doesn't make any sense to me, so hopefully someone knows why this happens?
For the record: the log sample I showed refers to perfectly normal html-files. On some dynamically generated pages I do indeed compare the if-modified-since date with the last-modified field of that page's database record. Works like a charm and saves me some bandwidth while I'm waiting for myself to implement static publishing.