Proper use of Sling Suffix | Community
Skip to main content
August 12, 2016

Proper use of Sling Suffix

  • August 12, 2016
  • 1 reply
  • 1788 views

There is little documentation on suffix.  Under "URL Decomposition"; suffix "can be used to specify additional information".  Under "Locating the Script"; for URLs in other formats not ending in .html; suffix is added to the script name.

An obvious use is to write query parameters as the suffix to create a unique cacheable URL.  We've done a simple POC that uses a selector to consume the suffix.

Any advice on the use of suffix?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

1 reply

smacdonald2008
August 13, 2016
ds9phAuthor
August 15, 2016

The link states with the use of the form selector, the suffix is treated as a path for script location resolution. This is not backed by AEM or Sling documentation. I've tested the suffix using it as a means to pass additional information, in my case as selection criteria to construct a unique cacheable URL.  It works but I'm concerned about depending on a poorly documented feature.  Thank you.