[plt-scheme] Browser caching servlet generated pages

From: Eli Barzilay (eli at barzilay.org)
Date: Sun Nov 2 21:43:17 EST 2003

On Nov  2, Noel Welsh wrote:
> Is there some header that I could return to prevent
> caching?  Alternatively are there other techniques
> people are familiar with?

In my server I use:

  (add-output-header 'Cache-Control "no-cache")
  (add-output-header 'Pragma "no-cache")
  (add-output-header 'Expires (*date-gmt-string*))

which seemed to work with all browsers at the time.

          ((lambda (x) (x x)) (lambda (x) (x x)))          Eli Barzilay:
                  http://www.barzilay.org/                 Maze is Life!

Posted on the users mailing list.