靜態內容來源資料 static-content-source-data

只有Platform Server可存取靜態內容來源資料檔。

靜態內容資料檔案的路徑解析如下:

PS::staticContent.rootPaths/attribute::StaticContentRootPath/static::Path

伺服器會由右至左組合路徑區段,直到建立絕對檔案路徑為止。

所有 *rootPath*區段都可以是空白、相對或絕對路徑區段。

*catalogPath*是絕對或相對檔案路徑/名稱。 requestPath ​必須為相對檔案路徑/名稱。

可在PlatformServer.conf中定義多個PS::staticContent.rootPaths值。 如此一來,來源資料檔案便可以分散至多個檔案系統。 Platform Server會依指定的順序嘗試替代路徑,直到找到資料檔為止。

recommendation-more-help
a26166cd-f2f4-45ce-996d-96a0f0d6cf49