My “Last-Modified” time isn’t being updated…
when a comment is posted on my blog. Any idea WordPress/web guys? It’s really annoying because my RSS reader keeps getting 304 responses when I know there is a new comment.
when a comment is posted on my blog. Any idea WordPress/web guys? It’s really annoying because my RSS reader keeps getting 304 responses when I know there is a new comment.
Is it that it doesn’t update immediately (or quickly) or that it doesn’t update at all?
If it’s a delay problem, it could be a caching issue with your web server, if it’s configured to intercept those requests and only return new content for the same URL every X seconds/minutes, etc. Or maybe a plugin that you’ve recently installed?
If it isn’t updating at all, it’s more likely that it’s a WP issue. I’ve seen this happen before on a few other WP blogs, now that you mention it, but they weren’t mine, so I don’t know what the problem was.
JaredB
20 Jul 05 at 10:42 pm
I just tested it before and after that comment, and it looks like it’s advancing fine for me, within one minute at least.
JaredB
20 Jul 05 at 10:45 pm
I’ve tried from a couple different machines and it’s not updateing for me. This is what I am doing:
$ telnet natealderson.org 80
GET /?feed=comments-rss2 HTTP/1.0
Accept-Encoding: gzip
User-Agent: Liferea/0.9.3 (Linux; en_US.UTF-8; http://liferea.sf.net/)
Connection: close
Host: natealderson.org
If-Modified-Since: Thu, 21 Jul 2005 05:00:00 GMT
Your first comment on this post was at 05:42:00 GMT so I should expect an OK response back right? but I get this response:
HTTP/1.1 304 Not Modified
Date: Thu, 21 Jul 2005 05:49:28 GMT
Server: Apache/1.3.33 (Unix) mod_auth_passthrough/1.8 mod_log_bytes/1.2 mod_bwlimited/1.4 FrontPage/5.0.2.2635 mod_ssl/2.8.22 OpenSSL/0.9.7a PHP-CGI/0.1b
ETag: "e72210ec590ee6d32bcd09dd94ae0e5b"
X-Pingback: http://natealderson.org/xmlrpc.php
X-Powered-By: PHP/4.3.11
Last-Modified: Thu, 21 Jul 2005 04:50:51 GMT
Connection: close
Content-Type: text/html
I think 4:50 was when I fixed a typo in one of my posts. I looked on the WordPress forums but I didn’t see anything that looke similar. Ahhh!
Nate
20 Jul 05 at 11:00 pm
Interesting, at that level it looks like a web server thing. What is your WP permalink structure set up like?
If it can, I think it uses mod_rewrite to redirect that /?feed=X request to wp-commentsrss2.php. You could try going directly to there to see if it’s any different. If it is, I would suspect it’s a mod_rewrite issue. I think if that is not available, it tries to modify the .htaccess file, which may or may not be allowed by the web server config.
JaredB
20 Jul 05 at 11:31 pm
My permalink structure wasn’t set up like anything, and now I copied the example they have. That didn’t have an effect though.
When I hit wp-commentsrss2.php I got the right response. Have any easy, quick fixes in mind?
I guess I’ll have to wait till tomarrow to finish this. I should go to bed as I need to be up at six. Thanks Jared.
Nate
20 Jul 05 at 11:49 pm
Actually, now that I added the permalink structure it’s working good.
Nate
21 Jul 05 at 6:02 am
I had a perm until I was a junior in high school. It was horrible.
Kristi
21 Jul 05 at 10:30 am
Yeah. I added a permalink structure one time and it was great. I hardly ever had to style my hair or use any hair care products. Kristi, when you got your perm, you probably didn’t get the structure option. Gives you alot more body. Next time remember to ask for “permaLINK” not just a plain permanent. It smells kind of bad though. If you soak your hair for 23 minutes in tomatoe juice or V8, that should take care of it.
ma ma j
21 Jul 05 at 11:44 am
Ok. I was wondering about that. I should’ve splurged back then and got the $50 permalink instead of the $35 perm. Ma ma j- you are always right.
Kristi
21 Jul 05 at 12:49 pm
And isn’t it amazing how a new “do” just makes everything else seem better? I mean look at Nate. He added his permalink and now his computer is running better. And plus when he has to get to bed so he can be up by 6:00 his permalink structure will still be in place. Cool! The phychology of hair fashion is absolutely facinating!
ma ma j
21 Jul 05 at 1:26 pm
ENOUGH!
Nate
21 Jul 05 at 1:27 pm
I am thinking it’s a WordPress bug because I peeked at wp-blog-header.php and saw some code for generating the HTTP headers, but I don’t really know an easy way to go about debugging PHP scripts so I asked on the WordPress forum: http://wordpress.org/support/topic/39830
Nate
21 Jul 05 at 6:27 pm
the girls is jus’ trying to be a part of the d to the iscussion.
Martha
21 Jul 05 at 7:29 pm
Sure they are.
Nate
21 Jul 05 at 7:44 pm
I would call an exterminator. They’re good at debugging those pesky PHP scripts.
Kristi
21 Jul 05 at 8:54 pm
Hey, no peeking, Nate! have a great v to the a-cation. Don’t get frizz-ied in the Arizona heat!
ma ma j
21 Jul 05 at 9:27 pm
Can you please stop commenting on this post. I have a newer one. :)
Nate
21 Jul 05 at 9:32 pm
Yeah. I’m all over it.
ma ma j
22 Jul 05 at 6:25 am
Umm yea…. lamens terms please
i think that is the rite word but i probably wrong
kenny
1 Aug 05 at 9:26 pm