[racket-dev] no-cache the default web-server index.html

From: Jay McCarthy (jay.mccarthy at gmail.com)
Date: Mon Jan 21 11:07:34 EST 2013

I'll push this change shortly.

On Sat, Jan 19, 2013 at 10:18 PM, David Vanderson
<david.vanderson at gmail.com> wrote:
> Tiny request - could we add:
>
> <meta http-equiv="pragma" content="no-cache">
>
> to the <head> of the default web-server index.html page?
>
> I started toying with serve/servlet, and was caught for a bit by:
> - first using #:servlet-path "/foo", seeing my servlet page
> - change the url in the popup browser to "/", see default page
> - close browser, change servlet to using #:servlet-regexp #rx""
> - the popup browser still shows the default page
>
> The browser (at least Firefox on Linux) is caching that page, and it'd be
> nice for new users not to stumble and have to do a manual refresh.
>
> Thanks,
> Dave
> _________________________
>  Racket Developers list:
>  http://lists.racket-lang.org/dev



-- 
Jay McCarthy <jay at cs.byu.edu>
Assistant Professor / Brigham Young University
http://faculty.cs.byu.edu/~jay

"The glory of God is Intelligence" - D&C 93

Posted on the dev mailing list.