Skip Navigation

Sign up

If you sign up for an account on this web site you can customise elements of this site and subscribe to an email newsletter.

If you have an account on this web site you may login.

If you have an account on this site but have forgotten your user name and / or your password then you can request an account reminder email.

Cache friendly headers

MKDoc doesn't produce any cache friendly headers, this means that using Apache 2.2 or Squid to accellerate a MKDoc site is more problematic that it should be.

For example these are the headers from a front-facing apache server:

$ ab -n 1 -v 4 -H "Accept-Encoding: gzip" http://www.mkdoc.com/
This is ApacheBench, Version 2.0.40-dev <$Revision: 1.146 $> apache-2.0
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Copyright 1997-2005 The Apache Software Foundation, http://www.apache.org/

Benchmarking www.mkdoc.com (be patient)...INFO: POST header ==
---
GET / HTTP/1.0
User-Agent: ApacheBench/2.0.40-dev
Host: www.mkdoc.com
Accept: */*
Accept-Encoding: gzip


---
LOG: header received:
HTTP/1.1 200 OK
Date: Thu, 06 Jul 2006 14:11:54 GMT
Server: Apache
Vary: Accept-Encoding
Content-Type: text/html; charset=UTF-8
X-Cache: MISS from mkdoc.com
Connection: close
Content-Encoding: gzip
Content-Length: 4975

�
LOG: Response code = 200
..done

And this is the response direct from the back-end apache:

$ ab -n 1 -v 4 -H "Accept-Encoding: gzip" http://www.mkdoc.com:8019/
This is ApacheBench, Version 2.0.40-dev <$Revision: 1.146 $> apache-2.0
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Copyright 1997-2005 The Apache Software Foundation, http://www.apache.org/

Benchmarking www.mkdoc.com (be patient)...INFO: POST header ==
---
GET / HTTP/1.0
User-Agent: ApacheBench/2.0.40-dev
Host: www.mkdoc.com:8019
Accept: */*
Accept-Encoding: gzip


---
LOG: header received:
HTTP/1.1 200 OK
Date: Thu, 06 Jul 2006 14:13:04 GMT
Server: Apache
Connection: close
Content-Type: text/html; charset=UTF-8

<!DOCTYPE html PUBLIC
  "-//W3C//DTD XHTML 1.0 Transitional//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

Up

This document was last modified by Chris Croome on 2006-07-06 07:14:12
MKDoc Ltd., 31 Psalter Lane, Sheffield, S11 8YL, UK.
Copyright © 2001-2006 MKDoc Ltd.