X-Exyus-Cache header

2007-09-05 @ 00:50#

i've implemented a new custom HTTP Response header for the exyus framework: X-Exyus-Cache. this header is included in the response when the entity body was delivered from exyus' own internal cache. it's not all that interesting to average clients or public proxies, but is a simple way for me to monitor some of the internals of the framework. i am thinking that this kind of info can be used by a custom client to report interesting information about exyus-hosted apps.

i also include a custom header to report the current version of the exyus engine. nothing fancy, but useful, i think. here's a sample of the request/response headers on the most recent version of the engine:

REQUEST: **************
HEAD /blog/categories/ HTTP/1.1
Host: amundsen.com
Accept: */*

RESPONSE: **************
HTTP/1.1 200 OK
Date: Wed, 05 Sep 2007 04:57:39 GMT
Server: Microsoft-IIS/6.0
X-Powered-By: ASP.NET
X-AspNet-Version: 2.0.50727
X-Exyus-Cache: nQW0MFuv/RzSeTqpfjdC6w==
X-Exyus: 0.9.2799.37762 2007-08
Last-Modified: Wed, 05 Sep 2007 04:49:34 GMT
ETag: nQW0MFuv/RzSeTqpfjdC6w==
Cache-Control: public,must-revalidate,post-check=1,pre-check=2
Content-Type: text/html; charset=utf-8
Content-Length: 1

code