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

Sling Dynamic Include: Allow Caching of Synthetic Resources

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Dynamic Include 3.1.0
    • Dynamic Include 3.1.2
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: