Search squid archive

Re: object refresh question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 =?ISO-8859-1?Q?=E4r?= en digitalt signerad meddelandedel


[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux