From 0b50152acade6e35da7fa3b78661e5265a58fe3a Mon Sep 17 00:00:00 2001 From: Danny Yoo Date: Mon, 26 Sep 2011 14:01:48 -0400 Subject: [PATCH] adding a timestamp into the manifest to make it easier for web servers to detect when the files have changed. --- whalesong-helpers.rkt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/whalesong-helpers.rkt b/whalesong-helpers.rkt index 9305ab5..0673d4d 100644 --- a/whalesong-helpers.rkt +++ b/whalesong-helpers.rkt @@ -4,6 +4,7 @@ racket/file racket/path racket/port + racket/date "make/make-structs.rkt" "js-assembler/package.rkt" "resource/structs.rkt" @@ -173,6 +174,7 @@ (call-with-output-file* (build-path (current-output-dir) output-manifest-filename) (lambda (op) (fprintf op "CACHE MANIFEST\n") + (fprintf op "## Timestamp: ~a\n" (date->string (current-date) #t)) (for [(js-name (map file-name-from-path (reverse written-js-paths)))] (fprintf op "~a\n" js-name)) (for [(resource-name written-resources)]