diff src/settings.sml @ 2213:365727ff68f4

Complete overhaul: cache queries based on immediate query result, not eventual HTML output.
author Ziv Scully <ziv@mit.edu>
date Tue, 14 Oct 2014 18:05:09 -0400
parents ced78ef1c82f
children e10881cd92da
line wrap: on
line diff
--- a/src/settings.sml	Mon Sep 15 20:01:16 2014 -0400
+++ b/src/settings.sml	Tue Oct 14 18:05:09 2014 -0400
@@ -744,6 +744,10 @@
 fun setLessSafeFfi b = less := b
 fun getLessSafeFfi () = !less
 
+val sqlcache = ref false
+fun setSqlcache b = sqlcache := b
+fun getSqlcache () = !sqlcache
+
 structure SM = BinaryMapFn(struct
                            type ord_key = string
                            val compare = String.compare