summaryrefslogtreecommitdiff
path: root/architecture
diff options
context:
space:
mode:
Diffstat (limited to 'architecture')
-rw-r--r--architecture/data.mdwn2
1 files changed, 2 insertions, 0 deletions
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_.-]+$/