[racket] Web server templates

From: Jay McCarthy (jay.mccarthy at gmail.com)
Date: Tue Jun 5 21:38:08 EDT 2012

There's no "cache" that could be cleared.

The template code is included verbatim in the module that uses
include-template _AT COMPILE TIME_; you would need to recompile to get
the changes, at the very least.


On Tue, Jun 5, 2012 at 5:37 PM, Simon Haines <con.amalgamate at gmail.com> wrote:
> On 5 June 2012 22:40, Jay McCarthy <jay.mccarthy at gmail.com> wrote:
>> This question is answered in the FAQ:
> Thanks Jay, I read the faq before posting, but it didn't answer my question,
> hence my post. I'm just going to assume you can't flush the template cache
> except by restarting the server.
> I guess I was hoping for a parameter that would detect changes to the
> underlying template
> (http://planet.racket-lang.org/display.ss?package=mzfam.plt&owner=jao) and
> refresh the cache. This might be hard to implement on top of the existing
> template implementation, as access to the cache is not exposed, instead
> requiring changes to the module itself.
> --
> Simon.

Jay McCarthy <jay at cs.byu.edu>
Assistant Professor / Brigham Young University

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

Posted on the users mailing list.