Sling-Dynamic-Include | Sling Dynamic Include
kandi X-RAY | Sling-Dynamic-Include Summary
kandi X-RAY | Sling-Dynamic-Include Summary
Sling Dynamic Include (SDI) project has been contributed to the Apache Sling project. SDI is no longer maintained here - this Github project has been left as an information hub only. All tickets should be raised in the Apache Sling jira.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Filter the resources
- Build the resource URL
- Checks if a header contains a value
- Build the include URL
- Filter the request
- Check if the request is enabled
- Gets the base path
- Returns the configuration for the given resource type
- Returns the complete path
- Sanitize a dirty string
- Get the resource path
- Builds the selectors
- Read the template file from the bundle
- Bind the given include generator
- Unbinds a configuration
- Binds a configuration
- Removes a selector
- Add a selector
- Returns true if the given request should be included in the configuration
- Activates the filter
- Gets the include
- Returns the include link for the given URL
- Gets the include link
- Handle a GET request
- Sets the TTL for the resource type
- Removes the given generator
Sling-Dynamic-Include Key Features
Sling-Dynamic-Include Examples and Code Snippets
SetHandler dispatcher-handler
SetHandler dispatcher-handler
SetOutputFilter INCLUDES
Options FollowSymLinks Includes
AllowOverride None
Options Indexes FollowSymLinks Mu
if(req.url ~ "\.nocache.html") {
set beresp.ttl = 0s;
} else if (req.url ~ "\.html") {
set beresp.do_esi = true;
}
Community Discussions
Trending Discussions on Sling-Dynamic-Include
QUESTION
I'm configuring SDI OSGi config, referencing - https://experienceleague.adobe.com/docs/experience-manager-learn/foundation/development/set-up-sling-dynamic-include.html?lang=en
The issue I'm facing is that:
If I set Only 1 resource type in the config property -
include-filter.config.resource-types="[my-app/components/content/highly-dynamic]" - it works.
But if I set more than 1 resource type in the config property -
include-filter.config.resource-types="[my-app/components/content/highly-dynamic, my-app/components/content/highly-dynamic2,my-app/components/content/highly-dynamic3]" - SDI works for only first entry(my-app/components/content/highly-dynamic) and not the others.
So if I reverse the sequence,
include-filter.config.resource-types="[my-app/components/content/highly-dynamic3, my-app/components/content/highly-dynamic2,my-app/components/content/highly-dynamic]" - SDI still works for only first entry(my-app/components/content/highly-dynamic3) and not the others.
...ANSWER
Answered 2021-Jun-30 at 06:25Your issue sounds related to https://issues.apache.org/jira/browse/SLING-10289 which affects the current version 3.2.0.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install Sling-Dynamic-Include
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page