From a889afc2a05f31b5a66ea7d2533166e5a1df4971 Mon Sep 17 00:00:00 2001 From: Joe Rayhawk Date: Mon, 14 Sep 2009 13:07:26 -0700 Subject: Adding note on caching associated data. --- architecture/data.mdwn | 2 ++ 1 file changed, 2 insertions(+) diff --git a/architecture/data.mdwn b/architecture/data.mdwn index 22061a1..c0d33f4 100644 --- a/architecture/data.mdwn +++ b/architecture/data.mdwn @@ -1,5 +1,7 @@ Data model! +Dynamic data lookup should opportunisticly cache any associated cheap data. For instance, there are three data from stat(/srv/git/$reponame.git), so looking up one should grab the others. /etc/password parsing would be similar. + [[!table format=dsv delimiter=# data=""" datum #stored location #constraint username #usually $ENV{SUDO_USER} #!~ /^git-|^ikiwiki-/ and =~ /^[a-zA-Z0-9_.][a-zA-Z0-9_.-]+$/ -- cgit v1.2.3