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
This archive was generated by hypermail pre-2.1.9 : Tue Aug 01 2006 - 12:00:01 MDT