[plt-scheme] Browser caching servlet generated pages
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!