Hi All,
 
I am a bit confused as to how to implement a caching scheme in which I can
show whether or not a page has been updated or not. This is for a forum that
stores the last update by date. I would like to change the response http to
show the last-modified date if possible. Unfortunately, I am a novice on
http headers and would like some help on how to implement this. If I set the
expiry to 
 
<@ASSIGN Local$httpHeader VALUE="Content-Type:
text/html<@CRLF>Cache-Control: no-cache, max-age=0, must-revalidate,proxy
revalidate<@CRLF>Pragma: no-cache<@CRLF><@USERREFERENCECOOKIE><@CRLF>">
 
Will this generat what I need for the request? I am looking for the reponse
to be something like this...
 
HTTP/1.0 200 OK
Server: Microsoft-IIS/5.0
Content-Location:  <http://www.xyz.taf> http://www.xyz.taf
Date: Fri, 22 Aug 2008 18:22:39 GMT
Content-Type: text/html
Accept-Ranges: bytes
Last-Modified: Wed, 020 Aug 2008 13:30:23 GMT
ETag: "801395163ec21:8a9"
Content-Length: 751
 
And I am confused as to the ETag.
 
Can I set this globally for all tafs? or would that really take a
performance hit?
 
Can someone shed some light on this, please?
 
Thanks!



 

________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf

Reply via email to