Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-7785

Sling Dynamic Include: Allow Caching of Synthetic Resources

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: Dynamic Include 3.1.0
    • Fix Version/s: Dynamic Include 3.1.2
    • Component/s: None
    • Labels:
      None

      Description

      Due to the need to append the resource type as a suffix for virtual resources, AEMs Dispatcher is not able to cache those requests. The Dispatcher interprets the URL as having no extension, which makes it uncachable. Example:

      <!--#include virtual="/content/test/www/gb/en/_jcr_content/root/header/menu.sdi.html/x/wcm/components/static/menu" -->

      Since Sling also allows dots in the suffix adding a fake extension is possible to make it cacheable. Allowing to configure the extension makes it flexible enough to either use TTL or AEM Dispatchers Invalidation with different rules per extension.

        Attachments

          Activity

            People

            • Assignee:
              rombert Robert Munteanu
              Reporter:
              AndreasWurm Andreas Wurm
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: