Re: Checking age of document without get()'ing it

alester@fsc.follett.com
Fri, 20 Jun 97 12:11:30 CDT


Instead of passing a GET command to the server, use the HEAD command.

I would SERIOUSLY recommend getting a copy of O'Reilly's "Web Client 
Programming In Perl".


______________________________ Reply Separator _________________________________
Subject: Checking age of document without get()'ing it
Author:  "Tom Valley; (Consultant - Murphy 97)" <valley@ridgefield.sdr.slb.com> 
at Internet
Date:    6/20/97 12:10 PM


I'd like to be able to find out if a page has changed since the last time I 
retrieved it, without having to retrieve it all over again.  Not all webmasters 
use the meta date tag in their headers, so that is not a fool-proof method.

Because getting the web data is the most time consuming method of my entire 
script, I'm looking to cut that down if the data is old.  Is there such a way?

Thanks

Thomas