Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Proper use of Sling Suffix


Level 1

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?

2 Replies


Level 1

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.