選取您的 Cookie 偏好設定

我們使用提供自身網站和服務所需的基本 Cookie 和類似工具。我們使用效能 Cookie 收集匿名統計資料,以便了解客戶如何使用我們的網站並進行改進。基本 Cookie 無法停用,但可以按一下「自訂」或「拒絕」以拒絕效能 Cookie。

如果您同意,AWS 與經核准的第三方也會使用 Cookie 提供實用的網站功能、記住您的偏好設定,並顯示相關內容,包括相關廣告。若要接受或拒絕所有非必要 Cookie,請按一下「接受」或「拒絕」。若要進行更詳細的選擇,請按一下「自訂」。

Lazy load - Amazon File Cache
此頁面尚未翻譯為您的語言。 請求翻譯

Lazy load

When you access data on a linked Amazon S3 or NFS data repository using the cache, Amazon File Cache automatically loads the metadata (the name, ownership, timestamps, and permissions) and file contents if they're not already present in the cache. The data in your data repositories appears as files and directories in the cache.

Lazy load is triggered when you're in a DRA directory and you read or write data or metadata to a file. Amazon File Cache loads data into the cache from the linked data repositories if it's not already available. For example, lazy load is triggered when you open a file, stat a file, or make metadata updates to the file.

You can also trigger lazy load by using the ls command to list the contents of a DRA directory. If you're at the root of a directory hierarchy that includes several DRA directories, the ls command will use lazy load on all the DRA directories in the hierarchy. For example, if you’re at / in the directory tree, and your four DRAs are /a, /b, /c, and /d, then running a recursive ls command populates metadata for all DRAs. To run a recursive ls command, use the -R option shown in the examples below:

ls -R ls -R /tmp/dir1

When you use the ls or stat commands, Amazon File Cache only loads file and directory metadata for requested files; no file content will be downloaded. The data from a file in the data repository is actually downloaded to your cache when the file is read.

Note

Amazon File Cache only loads a directory listing the first time ls is run on a directory. Subsequently, if new files are added or existing files are changed in the corresponding directory in the linked data repository, you can stat the file path to update the directory listing.

隱私權網站條款Cookie 偏好設定
© 2025, Amazon Web Services, Inc.或其附屬公司。保留所有權利。