What is a suffix in URL strings

Sling provides functionality to facilitate resource resolution. His ability to allow an accurate representation of the resources we need is very useful in a content application.

However, I can’t understand that one question is about using a suffix.

Example:

http://localhost:4502/content/app/mycomponent.large.html/something.html

Here "something.html" is the suffix. I want to know under what circumstances will I use the suffix? What advantages do we get compared to transmitting information as a selector?

+4
source share
2 answers

Pretty tough question, but I'll try to clarify it a bit.

. , ( JSP), , .

, , /page/a.html, . /page/a.mobile.html .

, /JSP. TouchUI: URL-

: 4502/editor.html//pageYouEdit.html

, /editor.html, Edit Interface, .

: - https://github.com/Cognifide/Sling-Dynamic-Include. , AJAX, :

/pathToThePage/_jcr_content/pathToTheComponentNode.nocache.html///pathToTheRenderer

, , . , , , , .

+6

, . HTTP- Apache, "", Adobe AEM.

http://me.com/page.html/todays_promotion   <-- cacheable

http://me.com/page.html?todays_promotion   <-- not cacheable

, .

+2

Source: https://habr.com/ru/post/1665000/


All Articles