sling-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tomasz Niedźwiedź (JIRA) <j...@apache.org>
Subject [jira] [Commented] (SLING-7914) Document the way synthetic resources can be cached with the right SDI config
Date Wed, 12 Sep 2018 12:46:00 GMT

    [ https://issues.apache.org/jira/browse/SLING-7914?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16612074#comment-16612074
] 

Tomasz Niedźwiedź commented on SLING-7914:
------------------------------------------

[~bdelacretaz] whoops. A little copy and paste blunder. Fixed :)

> Document the way synthetic resources can be cached with the right SDI config
> ----------------------------------------------------------------------------
>
>                 Key: SLING-7914
>                 URL: https://issues.apache.org/jira/browse/SLING-7914
>             Project: Sling
>          Issue Type: Wish
>    Affects Versions: Dynamic Include 3.1.2
>            Reporter: Tomasz Niedźwiedź
>            Priority: Minor
>
> SLING-7785 introduced a way for components based on virtual resources to be cached.
A new property was added to the configuration which allows a faux extension to be appended
to the suffix, enabling the content to be cached and a TTL to be respected.
> I've recently come across a [Stack Overflow question|https://stackoverflow.com/questions/47692441/apache-dispatcher-sling-dynamic-include-sdi-with-ttl/] that
seems related to the improvement introduced there but, spending time to experimenting with
it myself, I'm not sure how exactly the feature needs to be configured. Please consider writing
a few paragraphs describing the use of this feature on the [SDI documentation page|https://sling.apache.org/documentation/bundles/dynamic-includes.html].
> What I think would work nicely would be to:
>  * Add the _Extension_ property to the list of configurable fields and provide a brief
description
>  * Provide an example of a minimal SDI and Dispatcher configuration to cache a synthetic
resource with a specific TTL.
> For anyone who wants to pick this up, the markdown for this exact page can be found [here|https://github.com/apache/sling-site/blob/master/src/main/jbake/content/documentation/bundles/dynamic-includes.md].
> CC [~AndreasWurm]



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message