Jul 102005
 

I recently became interested in customizing some of the news feeds for FreshPorts. Specifically, I wanted to allow users to have a news feed for their watch list (that’s the list of software they want to track). The existing news feed is already the most popular item on the website. It accounts for over 13% of all my web traffic.

I was concerned that if I created yet more news feeds, traffic would jump.

I posted my ideas to the FreeBSD ports mailing list. A private reply mentioned that using a 304 code should help things. That’s when I found out about conditional http. A little light went on.

FreshPorts is a huge website. At the time of writing, it has just over 303,250 pages, almost none of which output a Last-Modified header.

Now that is all changing. In my beta website, I’m almost completed the process of implementing Last-Modified and ETag headers to each and every one of my webpages.

So far, I have the following pages left to alter:

Hopefully I’ll be able to finish the above off within the next week or so.

  2 Responses to “Are your PHP pages observing Last-Modified?”

  1. I love the way you sound so passionate about what you are writing. Keep up the great work!

  2. I love the way you keep trying to spam about bathrooms using apple1987@yahoo.co.uk.

    It’s as if you don’t know that all posts are moderated.