ons 2006-07-05 klockan 13:58 -0700 skrev Mike Leong:

> 
> 1. is it possible, when doing the HEAD command on the CGI, have it return 
> the last mod date, but not execute the CPU intensive stuff.

What you can to support is If-Modified-Since, which is used both by
clients and Squid to send cache validations.

Requires your CGI to return a Last-Modified and to know how to compare
current status to the If-Modified-Since header when getting a request..

Which this in place it will be all automatic..  (assuming your CGI is
smart to skip the CPU intensive stuff if If-Modified-Since indicates the
previous response is still fresh).

Regards
Henrik

Attachment: signature.asc
Description: Detta är en digitalt signerad meddelandedel

Reply via email to