You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by kw...@apache.org on 2024/10/08 09:37:21 UTC
(sling-site) branch master updated: SLING-7140 Document external binary support on JCR Resource Provider
This is an automated email from the ASF dual-hosted git repository.
kwin pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sling-site.git
The following commit(s) were added to refs/heads/master by this push:
new 447a413a2 SLING-7140 Document external binary support on JCR Resource Provider
447a413a2 is described below
commit 447a413a2c5f14a8717f56448a0e4deb0f3dc5f1
Author: Konrad Windszus <kw...@apache.org>
AuthorDate: Mon Sep 30 15:08:05 2024 +0200
SLING-7140 Document external binary support on JCR Resource Provider
---
src/main/jbake/content/documentation/the-sling-engine/resources.md | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/src/main/jbake/content/documentation/the-sling-engine/resources.md b/src/main/jbake/content/documentation/the-sling-engine/resources.md
index dd38c17d4..95104cce3 100644
--- a/src/main/jbake/content/documentation/the-sling-engine/resources.md
+++ b/src/main/jbake/content/documentation/the-sling-engine/resources.md
@@ -155,6 +155,10 @@ The main binary property (i.e. the one being exposed by `Resource.adaptTo(InputS
For node type `nt:file` the property is looked up in the child node `jcr:content` for both cases. For all other node types it is looked up in the underlying node of the current resource.
+##### External Binaries
+
+In case when binaries are stored externally (e.g. in a Cloud Storage) accessing those via Sling just induces additional overhead. Therefore with [SLING-7140](https://issues.apache.org/jira/browse/SLING-7140) support for [Oak's Direct Binary Access](https://jackrabbit.apache.org/oak/docs/features/direct-binary-access.html) was added. External binaries now expose also as [`o.a.s.ai.resource.external.ExternalizableInputStream`](https://github.com/apache/sling-org-apache-sling-api/blob/maste [...]
+
#### Resource Metadata
The resource metadata exposed in `Resource.getResourceMetadata` get their values from JCR properties: