Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.

Proper use of Sling Suffix

Avatar

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

Avatar

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.