FreshPorts -- The Place For Ports If you buy from Amazon USA, please support us by using this link.
Follow us
Blog
Twitter

I am looking for an LTO tape library. Do you have one to spare?
Website Feedback
 New Topic  |  Go to Top  |  Go to Topic  |  Search  |  Log In   Newer Topic  |  Older Topic 
 Last-Modified + ETag support
Author: Dan 
Date:   15-07-05 03:16

I've started to add Last-Modfied and ETag to the headers on the website. For example, you should see something like this on the headers for each page in the website:

[dan@polo:~] $ wget -S http://www.freshports.org/authors.php
--23:15:44-- http://www.freshports.org/authors.php
=> `authors.php'
Resolving www.freshports.org... 66.154.97.250
Connecting to www.freshports.org|66.154.97.250|:80... connected.
HTTP request sent, awaiting response...
HTTP/1.1 200 OK
Date: Fri, 15 Jul 2005 03:14:49 GMT
Server: Apache
Last-Modified: Fri, 15 Jul 2005 03:10:45 GMT
ETag: "2005-07-15 03:10:45"
Connection: close
Content-Type: text/html
Length: unspecified [text/html]

[ <=> ] 13,263 58.44K/s

23:15:45 (58.34 KB/s) - `authors.php' saved [13263]

[dan@polo:~] $

There are a few more pages to complete. I documented the list in http://dan.langille.org/2005/07/10/are-your-php-pages-observing-last-modified/.

If you see any problems, please let me know.

Reply To This Message
 Forum List  |  Threaded View   Newer Topic  |  Older Topic 


 Forum List  |  Need a Login? Register Here 
 User Login
 User Name:
 Password:
 Remember my login:
   
 Forgot Your Password?
Enter your email address or user name below and a new password will be sent to the email address associated with your profile.


Servers and bandwidth provided by
New York Internet, SuperNews, and RootBSD
Valid HTML, CSS, and RSS.
Copyright © 2000-2014 Dan Langille. All rights reserved.