From aac3c02799476e4c09796ff48abd7527487db0b3 Mon Sep 17 00:00:00 2001 From: Joe Mooring Date: Sun, 16 Jun 2024 05:11:08 -0700 Subject: [PATCH] Update data sources --- content/en/content-management/data-sources.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/content/en/content-management/data-sources.md b/content/en/content-management/data-sources.md index 0ebc8466b..40634acef 100644 --- a/content/en/content-management/data-sources.md +++ b/content/en/content-management/data-sources.md @@ -28,6 +28,10 @@ The data directory in the root of your project may contain one or more data file Hugo also merges data directories from themes and modules into this single data structure, where the data directory in the root of your project takes precedence. +{{% note %}} +Hugo reads the combined data structure into memory and keeps it there for the entire build. For data that is infrequently accessed, use global or page resources instead. +{{% /note %}} + Theme and module authors may wish to namespace their data files to prevent collisions. For example: ```text